popovIliya

March-2022-FirstStepsInCoding-Exercise-Soft Uni - Radians to Degrees

Feb 28th, 2022
1,207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function radiansToDegrees(input){
  2. let radius = Number(input[0]);
  3. let degrees = ((radius * 180) / Math.PI);
  4. console.log(degrees);
  5. }
Advertisement
Add Comment
Please, Sign In to add comment