The pseudocode for the above program in java is as follows:
Pseudocode:
1. Enter number of times you want to calculate for .
Save it in number
2. Enter miles in the integer mile.
Enter gallons in the integer gall.
3. Ask the user value until the limit is reached for the number.
for(i=0;i<number;i++)
4. Now, calculate miles per gallon with the help of given formula
int milespergallon = mile/gall;
5. int overall = milespergallon/number;
Output overall;
Rate an upvote.......Thankyou
Hope this helps......
Please answer it by easy JAVA pseudocode. Thanks Write a pseudocode algorithm that calculates and prints...
This is a C program. please help me to write a
pseudocode of the program . also, I want the program In a
do...while loop and the screen output should look like in the
picture. please help me.
3.1. Write a program that asks the user to continue to enter two numbers (at a time). For each pair of numbers entered, the program calculates the product of those two numbers, and then accumulate that product. For each pair of numbers...
You previously wrote a program that calculates and displays: Miles driven Miles per gallon Kilometers driven Liters of fuel consumed Kilometers per liter Messages commenting on a vehicle's fuel efficiency And also validates input Now we'll make a somewhat major change. We'll remove the code for obtaining input from a user and replace it with hardcoded data stored in lists. Because the data is hardcoded, the program will no longer need the code for validating input. So, you may remove...
COP 2220 Into programming in C(Answer in C, not C++). The question is: Please write the algorithm for a AppStore programming assignment. The details of the assignment, a sample algorithm, and its outline, are located below. Make the algorithm at least half a page, easy to read, and to understand, how it works. I just want the algorithm, not the programming code, I have that. I only need the ALGORITHM. Thanks for helping me out, I apprieciate it, have a...