Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need assistance creating a QBasic Program

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
OK....Here's the problem.

I need to create a QBasic program that requests an integer from 1 to 12 and then lists the gifts (from the twelve days of Christmas) for that day along with that day's cost. The program also has to give the total cost of all twelve days.

Partridge in a pear tree 27.50
Turtle dove 25.00
French hen 5.00
Calling bird 70.00
Gold ring 60.00
Geese-a-laying 25.00
Swan-a-swimming 1000.00
Maid-a-milking 4.25
Lady dancing 289.50
Lord-a-leaping 292.50
Piper piping 95.75
Drumer drumming 95.00


There it is. Anyone who can help please do.

Thank you very much
 
General policy is to look at your code and see what could be changed. This is to eliminate the possibility of doing homework assignments. Ed Fair
efair@atlnet.com

Any advice I give is my best judgement based on my interpretation of the facts you supply.

Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top