0
Write a fully functioning program that converts radians to degree. Degrees=radians x 180/pi Make sure there is user input and the user is promoted what to input. The program must work with decimal numbers because pi radians (3.14159...) is a possible user input
2 Respuestas
+ 10
What have you done so far? What exactly is your problem? You could publish your code at the playground to let the community help you.
0
I don't ordinarily write code for others, but it's a really small task, so okay.
System.out.print("Enter radians: ");
double rad = (new java.util.Scanner(System.in)).nextDouble();
System.out.println("In degrees: " + (rad * 180 / Math.PI));
Done in three lines.