HTBasic Help
×
Menu
Index

rad Example

10    CLEAR SCREEN
20    PRINT "Testing the trigonometry mode."
30    OUTPUT CRT;"We are currently in";
40    OUTPUT CRT;" radian ";
50    PRINT "mode."
60    PRINT
70    PRINT "Please enter the desired input as mentioned below."
80    INPUT "Radians to convert to degrees",A
90    A=A*180/PI
100   PRINT "That is ";A;"degrees."
110   END