Answer to Question #313438 in Algorithms for hatdog

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.



1
Expert's answer
2022-03-17T15:18:31-0400
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

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS