Well Come to Professional Programmers

Learning Goal

Learning is a process to acquire, enhance, or make changes in one's knowledge. Learning Module presents essential and masks non-essential pieces of knowledge. It is self paced and presents required links to important examples and related terminologies essentially required for examination centric study. The module is focused on examination system in vogue in Pakistan and helps student acquire maximum marks in limited time of study.

GW-BASIC COUNTER

Monday, April 12, 2010



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




Return to Top

No comments:

Post a Comment