The QBasic / QB64 Discussion Forum      Other Subforums, Links and Downloads
 
 Return to Index  

select case?

April 29 2012 at 8:09 AM
Anonymous  (no login)


Response to i am now in romania and see that compiler download as html.page

INPUT "Enter acceptable level of risk (1-5): ", Total
SELECT CASE Total
CASE IS >= 5
PRINT "Maximum risk and potential return."
PRINT "Choose stock investment plan."
CASE 2 TO 4
PRINT "Moderate to high risk and potential return."
PRINT "Choose mutual fund or corporate bonds."
CASE 1
PRINT "No risk, low return."
PRINT "Choose IRA."
END SELECT

 
 Respond to this message   

Newbies usually go to www.qbasic.com and click on The QBasic Forum
Forum regulars have their own ways, which include The QBasic Community Forums