I need to write a program that reads angles in radians from an input disk and converts them in degre

Posted by Amadou on Stack Overflow See other posts from Stack Overflow or by Amadou
Published on 2010-05-01T05:27:34Z Indexed on 2010/05/01 5:37 UTC
Read the original article Hit count: 348

Filed under:
|

Write a program that reads angles in radians from an input disk le and converts them into degrees, minutes, and seconds. Output should be written into another le. A sample input le could be:

# this is a comment
# your program should be able to skip comment lines
# and blank lines
# input radian numbers could be seperated by blanks
0.0 1.0
# or by a newline
3.141593 6.0

© Stack Overflow or respective owner

Related posts about matlab

Related posts about programming