------------------------------------------------------------------------
Item No. Cost Quantity Amount
------------------------------------------------------------------------
1 40.00 1 40.00
2 150.00 10 1500.00
3 2000.00 20 40000.00
4 10.00 10 100.00
----------------------------------------------------------------------
Total 41640.00

Recommended Answers

All 2 Replies

You haven't described your problem at all, nor have you shown any effort.

Ok well if u just want the program to output the data shown here then you start like this:

#include <iostream>
#include <math.h>

int main()
{
cout<<" DATA HERE \n";
}


That is as small as a program can get... search up hello world if your just begining

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.