Question: Write a pseudocode for the for the problem below. Purpose: To use software development principles of abstraction in problem solving and structured problem solving techniques
Write a pseudocode for the for the problem below.
Purpose: To use software development principles of abstraction in problem solving and structured problem solving techniques to create an application that uses sentinel-controlled repetition to perform calculations based on a users input.
Details: Create a class named GasMileage that contains the main method. The method should ask a user for the number of miles driven and the number of gallons of gas used, both as integers, and then calculates and displays the miles per gallon, as an integer number. The program should continue asking for input until a sentinel value has been entered, at which time the program ends.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
