Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class RadianstoDegrees1 {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- Double radians = Double.parseDouble(scanner.nextLine());
- double degrees = radians * 180 / Math.PI;
- System.out.printf("%.0f", degrees);
- }
- }
Add Comment
Please, Sign In to add comment