Write Python code of a program to compute and display a persons weekly salary as determined by
Fantastic news! We've Found the answer you've been seeking!
Question:
Write Python code of a program to compute and display a person’s weekly salary as determined by the following conditions:
If the hours worked are less than or equal to 40, the person receives Tk200.00 per hour.
Else the person receives Tk8000.00 plus Tk300.00 for each hour worked over 40 hours.
The program should request the hours worked as input and should display the salary as output.
Sample Input 1:
30
Output 1:
Salary: 6000
Sample Input 2:
50
Output 2:
Salary: 11000
Related Book For
Posted Date: