i been asked to create a program in which you enter 2 numbers to four different classes ( car, van, SUV, truck) and the amount (the 2 num)
( X, 20)
and to get out of the loop you have to type EOF.
Please help me!
int main ()
int amount, count;
for (count=0; count<999; ++count)
cout<<"please enter your class"endl;
cout<<"please enter the amount"<<endl;
now how can i display all of the amounts by each class? and the totals of them?