Use of a windows box, C/C++ Programming

This program requires the use of a windows box, no console applications are allowed. Prepare for Christmas now.  Each year, Reindeer Gift Emporium publishes a Christmas price list (see Table below).  Write a program that request an integer from 1 through 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 turtle doves, 3 French hens,...,n of the nth item.  The program also should give the total cost of all twelve days. Note that the cost is given per each item. So one turtle dove costs $50, two turtle doves would cost $100.

Item#

Item

Cost/each item

Item#

Item

Cost

1

Partridge in a pear tree

162.00

7

Swan-a-swimming

800.00

2

Turtle dove

50.00

8

Maid-a-milking

7.25

3

French hen

50.00

9

Lady dancing

700.00

4

Calling bird

125.00

10

Lord-a-leaping

480.00

5

Gold ring

130.00

11

Piper piping

215.00

6

Geese-a-laying

25.00

12

Drummer drumming

215.00

Posted Date: 3/19/2013 3:38:36 AM | Location : United States







Related Discussions:- Use of a windows box, Assignment Help, Ask Question on Use of a windows box, Get Answer, Expert's Help, Use of a windows box Discussions

Write discussion on Use of a windows box
Your posts are moderated
Related Questions
what would be the best tool for debuggingg memory leaks in c/c++ programming

Explain about the strategies of implementation of the statecharts, Database Management System?

For this assignment, I've provided a data file called 'elevation.mat', which contains the elevation data you'll be working with.   Type load elevation.mat to get the varia


Question: (a) Explain the function fseek(). Using an appropriate example, write the full syntax for this function. (b) Write a C or C++ program that will perform the follo



Differences between a pointer and a reference 1.  A reference must always point to some object where as this restriction is not imposed on a pointer. e.g. int *pi = 0;

What do you mean by a sequential access file? - When writing programs which store and retrieve data in a file, it's possible to designate that file into various forms. - A s

What are the different types of endless loops? An endless loop can be of two types: i.) A loop that is intentionally designed to go round and round until the condition withi