The following problem can be solved by a program that performs three basic tasks: Input Data, Process Data, and Output Results. Use a pseudocode to design a suitable program for solving it.
The manager of the Super Supermarket would like to be able to compute the unit price for products sold there. To do this, the program should input the name and price of an item and its weight in pounds and ounces. It should then determine and display the unit price (the price per ounce) of the item.© BrainMass Inc. brainmass.com June 23, 2018, 9:04 pm ad1c9bdddf
Here is the pseudocode:
// Input Data
1. Prompt("Name: ");
2. name = getString(); // Get a string from screen as the name of the product
3. Prompt("Price: ");
This solution provides guidelines for using a pseudocode to design a program to compute the unit price for products sold at the Super Supermarket.