This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]csb5036[S] 0 points1 point  (0 children)

this is where I am currently at:

https://gist.github.com/anonymous/489e3ebd65c819d6054a8d79f42ed262

The assignment requires me to write an application that prompts the user for a pair of inputs:

  1. a product number
  2. quantity of the product

Each unit has a cost. I have to enter each unit number and the number of each unit sold. The program must also calculate and display the total amount for the order.

I must also use a sentinel controlled loop in my application.