Practical#06
SOURCE PROGRAM
10 REM CONVERT DOLLARS INTO RUPEES AND RUPEES INTO DOLLARS
20 REM WHERE THE RATE IS 1$ = Rs.60
30 CLS
40 PRINT "TO CONVERT DOLLARS INTO RUPEES"
50 INPUT "ENTER VALUE IN DOLLARS($) =:";D
60 LET R = D * 60
70 PRINT D, "DOLLARS", "=="R, "RUPEES"
80 PRINT "TO CONVERT RUPEES INTO DOLLARS"
90 INPUT "ENTER VALUE IN RUPEES(Rs.) =:";R1
100 LET D1 = R1 / 60
110 PRINT R1, "RUPEES", "=="D1, "DOLLARS"
120 END
OUTPUT
500 DOLLARS == 30000 RUPEES
30000 RUPEES == 500 DOLLARS
Monday, April 12, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment