This discussion is archived
5 Replies Latest reply: Oct 10, 2012 10:34 AM by EJP RSS

Need a small program

user2363567 Newbie
Currently Being Moderated
Need a small program that reads unlimited number of items and their prices until the user enters "Exit", after that the program should print out the total bill.

Example:

Enter Item : Disk 5
Enter Item : DVD 10
Enter Item : CD 20
Enter Item : Exit
Total Bill: 35

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points