I need help with my programming assignment which states

A mail-order house sells five different products whose retail prices are as follows:

Product Price

1 $2.98;

2 $4.50;

3 $9.98;

4 $4.49;

5 $6.87.

Write a C++ program that reads a series of pairs of numbers as follows:

a) Product number

b) Quantity sold for one day

I am really stuck and i don't know how to start... Can u someone please help????

Recommended Answers

All 2 Replies

Here's how I would start

#include<iostream>
using namespace std;
int main()
{
//write code
}

But seriously, try something and show us what you did.

"Help with my programming assignment"
~ No

*Please read the rules first. You must demonstrate some sort of effort before we should help you..* Why? Because it is not only cheating your class, it is cheating yourself. If you don't learn how to problem solve..you never will. It really isn't that we are just being mean. >.>

Thread: http://www.daniweb.com/forums/announcement8-2.html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.