Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- Scanner scan = new Scanner(System.in);
- double R= scan.nextDouble();
- double C = 2 * 3.14 * R;
- double S = 3.014 *R*R;
- System.out.println("R:"+R);
- System.out.println("C="+C);
- System.out.println("S="+S);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement