Joe wants to record each transaction through the day and get the sum at the end of day. He would like to enter a transaction value into the program. Then he will let computer know there are more transactions to come by typing in Y. At the end of day, he will type a N and computer program should give him a sum of sales and exit. Please help him with this request. can you plz make it util.scanner form and can you make it so i can copy and past it plz thank you in advance
Transaction solution for Joe's Pizza, your friendly neighborhood pizza shop.
Joe wants to record each transaction through the day and get the sum at the end of day. He would like to enter a transaction value into the
can you plz make it util.scanner form and can you make it so i can copy and past it plz
thank you in advance
Required:
Joe wants to record each transaction through the day and get the sum at the end of the day. He would like to enter a transaction value into the program. Then he will let the computer know there are more transactions to come by typing in Y. At the end of the day, he will type a N and the computer program should give him a sum of sales and exit. Please help him with this request.
Required code with comments for explanation and screenshot of both code and output has been provided in the next step.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images