PR92 - PROGRAM 9.2 THIS IS A MENU-DRIVEN PROGRAM DESIGNED TO PRINT OUT VARIOUS MONEY CONVERSIONS PROGRAM VARIABLES CHOICE AND CHOICE$ MENU CHOICES

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 ************************* PROGRAM 9.2 ***************************** THIS IS A MENU-DRIVEN PROGRAM DESIGNED TO PRINT OUT VARIOUS MONEY CONVERSIONS PROGRAM VARIABLES CHOICE AND CHOICE$ MENU CHOICES M1$,M2$,M3$,M4$,M5$,M6$, AND M7$ USED TO DISPLAY THE MENU F1$,F2$,F3$, AND F4$ USED TO PRINT OUT THE FORMULAS E$ USED TO DISPLAY AN ERROR MESSAGE ANSWER$ CHOICE TO PERFORM A CALCULATION USDOLLAR US DOLLAR BRITISHPOUND BRITISH POUND CADOLLAR CANADIAN DOLLAR PAUSE$ PAUSE TO READ A MESSAGE **************************** MAIN MODULE ************************ GOSUB InitializePrintImages LET CHOICE = 0 DO UNTIL CHOICE = 5 ' 5 IS ENDING VALUE GOSUB PrintMenu SELECT CASE CHOICE CASE 1 GOSUB Calculateustobritish CASE 2 GOSUB Calculatebritishtous CASE 3 GOSUB Calculateustocanadian CASE 4 GOSUB Calculatecanadiantous CASE 5 CLS LOCATE 15, 30 PRINT PRINT LOCATE 18, 30 PRINT "END OF PROGRAM" CASE ELSE LOCATE 18, 25 PRINT E$ LOCATE 16, 50 PRINT " " INPUT "", CHOICE$ LET CHOICE = VAL(CHOICE$) END SELECT LOOP END ************************ INITIALIZE PRINT IMAGES *****************
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/30/2008 for the course CIS 130 taught by Professor Ram during the Spring '08 term at Joliet Junior College.

Page1 / 8

PR92 - PROGRAM 9.2 THIS IS A MENU-DRIVEN PROGRAM DESIGNED TO PRINT OUT VARIOUS MONEY CONVERSIONS PROGRAM VARIABLES CHOICE AND CHOICE$ MENU CHOICES

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online