Skip to content

Instantly share code, notes, and snippets.

View Mohamed2del's full-sized avatar
💭
WE ARE IN END GAME NOW

Mohamed adel mohamed Mohamed2del

💭
WE ARE IN END GAME NOW
View GitHub Profile
@Mohamed2del
Mohamed2del / 2.3.py
Last active June 1, 2022 02:50
Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Use 35 hours and a rate of 2.75 per hour to test the program (the pay should be 96.25).
hrs = input("Enter Hours:")
y = input("Enter the rate:")
x =float(hrs) * float(y)
print("Pay:",x)