Question: Plz answer the question as the example EXERCISE 4: (PESUDO-CODE) Probleml : write a program that allows a person to enter the gallons of gas


Plz answer the question as the example
EXERCISE 4: (PESUDO-CODE) Probleml : write a program that allows a person to enter the gallons of gas and convert it to liters (metric system). NOTE: One US gallon equals 3.7854 liters. PROBLEM I: SOLUTION Input: Display a message asking the user to enter the first age. . Get the first age from the keyboard. Display a message asking the user to enter the second age. . Get the second age from the keyboard. PROBLEM 1: SOLUTION Processing Calculate the answer by adding the two ages together and dividing by two PROBLEM 1: SOLUTION Output: Display the answer on the screen Pause so the user can see the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
