Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Campus {
- public static void main(String[] args) {
- double radio = 7.5;
- double area = Math.PI * Math.pow(radio, 2);
- double perimetro = 2 * radio * Math.PI;
- System.out.println("Perimetor es: " + perimetro);
- System.out.println("Area es: " + area);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement