Saturday, October 30, 2021

US Dollar To Philippine Peso in Python

 Machine Problem

Write a program that will ask the user to give US Dollar money value and then it will convert 
it into Philippine Peso equivalent.
  I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.




Program Listing


# USDollar_PhilippinePeso.py
# Prof. Jake Rodriguez Pomperada, MAED-IT, MIT
# www.jakerpomperada.blogspot.com and www.jakerpomperada.com
# jakerpomperada@gmail.com
#
# Write a program that will ask the user to give US Dollar money
# value and then it will convert it into Philippine Peso equivalent.

print()
print("\tUS Dollar To Philippine Peso in Python")
print()
us_dollar = float(input('Enter US Dollar Value : '))

phil_peso = us_dollar * 50.531


print()
print("$ %0.2f US Dollar\'s is equivalent to PHP %0.2f peso\'s" %(us_dollar,phil_peso))
print()
print("\tEnd of Program")
print()

No comments:

Post a Comment