Question #313438

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.



Expert's answer

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
LATEST TUTORIALS
APPROVED BY CLIENTS