Need help with assignment

+1 Liam Hilton · November 3, 2015
Hi all I'm new to programming and my professor won't give assistance on assignments. I'm stuck with how to get the program to calculate the totals on it's own, I've tried looping and "If" statements but I'm obviously missing something.

The assignment should look like this

Enter the number of cases received for the toy product: (enter number)


Toy product sales category: (enter sales category)
Wholesale price of toy product case: (enter dollar amount)
Number of toys units per case: (enter units)


then the program should calculate a summary like so

Total cases received: 
Total toy units received:
Total wholesale cost of shipments received:


Total sales category 1 units received:
Total sales category 1 wholesale cost received:


Total sales category 1 units received:
Total sales category 1 wholesale cost received:



Total sales category 2 units received:
Total sales category 2 wholesale cost received:



Total sales category 3 units received:
Total sales category 3 wholesale cost received:



Total sales category 4 units received:
Total sales category 4 wholesale cost received:



Total sales category 5 units received:
Total sales category 5 wholesale cost received:



Any help is much appreciated!!!  :)



Post a Reply

Replies

Oldest  Newest  Rating
0 Jon Z. · November 5, 2015
code?
  • 1

C

107,042 followers
About

One of the most popular languages of all time.

Links
Moderators
Bucky Roberts Administrator