Final answer:
The algorithm takes a number of pennies as input and calculates the number of dollars by dividing the pennies by 100. The input is an integer representing pennies, and the output is a decimal or integer representing dollars.
Step-by-step explanation:
The task is to develop an algorithm that takes an input of pennies and outputs the equivalent amount in dollars. Given that there are 100 pennies in a dollar, the algorithm should perform a simple division where the number of pennies entered is divided by 100 to find how many dollars those pennies make.
Algorithm Steps:
- Start the program.
- Input the total number of pennies.
- Divide the number of pennies by 100 to get the number of dollars.
- Display the number of dollars.
- End the program.
Input: The input to this algorithm is the total number of pennies (an integer).
Output: The output is the equivalent value in dollars (may be a decimal if the number of pennies is not a multiple of 100).