Give the algorithm to convert the input dollars(s) into the equivalent peso. One dollar is approximately equal to 50.60 pesos. Then display the result.
Start
Declare Real dollars
Declare Real pesos
Display "Enter number of dollar(s): "
Input dollars
pesos = dollars * 50.60
Display "The equivalent of $"+ dollars + " into is Php" + pesos
Stop
Comments
Leave a comment