#include <iostream.h>
#include "oostring.h"
int main()
{
oostring custname;
int custid;
int itemid;
int itemcount;
int grandcount;
int avgcost;
float ordertotal;
int itemtotal;
float grandtotal;
grandtotal=0;
ordertotal=0;
itemtotal=0;
grandcount=0;
avgcost=0;
int idarray[3]...
Hello,
I was recommended to check out this board for help, so please forgive me if I sound like a newbie.
I have written a short simple program that uses an array of 3 items. Each item has a price and a quantity. The user selects an item number and quantity, and the program adds up a total...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.