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

Assignment Help:

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


Related Discussions:- Use of a windows box

The car’s measurements are illustrated, The car’s measurements are illustra...

The car’s measurements are illustrated, using two arrays. Array 1 = {L, R, L, R, R, L, R, R, L, R, R, L, R, L, L, R, Z}

Define the modulo division operator in c language, Define the Modulo Divisi...

Define the Modulo Division Operator in c language? The C provides one more arithmetic operator % called as modulo division operator and this operator yields the remainder of an

C program for pattern star, 1 PETTERN1 (Pettern1.c)   main() { ...

1 PETTERN1 (Pettern1.c)   main() {           int i,j,k=1,a;           clrscr();           for(i=1;i           {                    if(i>=3)

Program to display stock containing item code, THIS PROGRAM IS TO DISPLAY A...

THIS PROGRAM IS TO DISPLAY A STOCK CONTAINING ITEM CODE,ITEM NAME,PRICE AND ANOTHER STOCK WITH CODE & QUANTITY AND DISPLAY COMPLETE INFORMATION #include #include #include

Is there present a way to force new to allocate memory, Yes. "Memory pools"...

Yes. "Memory pools" are useful in many situations. The bad news is that I'll need to drag you through the mire of how it acts before we talk about all the uses. Firstly, recall

Area under the curve, Area under the curve Write a program to find the area...

Area under the curve Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve bet

Minimum total number of shelv, Write a program that finds the minimum total...

Write a program that finds the minimum total number of shelv, C/C++ Programming

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd