1 solutions
-
0
Java :
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner input=new Scanner(System.in); double s=5.5; double a1=Math.round((s*s*3*1.732*10000)/2); double a=a1/10000; System.out.printf("The area of the hexagon is "+a); } }
- 1
Information
- ID
- 18573
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By