Q Basic program for the 12 days of Christmas
Posted: Thu Feb 02, 2006 6:13 pm
Help!...Novice user here...suddenly need a Q Basic program for
The Twelve Days of Christmas Price List
Partridge in a pear tree 27.50
Turledove 25.00
etc. etc..Request an integer from 1 to 12 and then lists the gifts for that day along with that day's cost. On the nth day, the n gifts are 1 partridge in a pear tree, 2 turtledoves.......n of the nth item. Also program should also give the total cost of all twelve days...
Can anybody point me in the right direction?..or give me a bare bones format so I can extrapolate?...On-line college student here who is woefully failing in writing this program...many thanks..K
The Twelve Days of Christmas Price List
Partridge in a pear tree 27.50
Turledove 25.00
etc. etc..Request an integer from 1 to 12 and then lists the gifts for that day along with that day's cost. On the nth day, the n gifts are 1 partridge in a pear tree, 2 turtledoves.......n of the nth item. Also program should also give the total cost of all twelve days...
Can anybody point me in the right direction?..or give me a bare bones format so I can extrapolate?...On-line college student here who is woefully failing in writing this program...many thanks..K