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
In the Byteland country a string "s" is said to super ascii string if and only if count of each charecter in the string is equal to its ascci value in the byteland country ascii co

how i can open a file

C Program for FUNCTION  OF COMPOUND INTEREST float ci(float,float,float); void main() {           float p=0,r=0,n=0,k=0;           clrscr();           printf("EN

Classes and Objects A class is a vehicle to execute the OOP features in the C++ language. Once a class is declared, an object of that type can be explained. An object is said t

implement two stacks in one array A[1...n] in such a way that neither stack overflows unless the total number of elements in both stacks together is n. For this you need to produce

palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindromes

Use of random function: int main(void) {    int i,j;         for(j=0;j       {      // randomize();       for(i=0;i                  printf("%d\n", ran

what is the syntax to get a coloured output.

Objects as Function Arguments: In C program there are several methods to define arguments, and in some case even a structure can be approved as an argument.  Similarly in C+

write a C code that plots an object on the window and on the user''s click of mouse on the window, the object starts rotating continuously until the user presses the mouse again