Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 841 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 841 Bytes

Python-Lab1

Input a welcome message and display it.

Input two numbers and display the larger / smaller number.

Write a program for finding largest of 3 numbers using a. If b. Elif c. Nested if else

Write a program to input marks of five subjects Physics, Chemistry, Biology, Mathematics and Computer. Calculate percentage and grade according to following: • Percentage >= 90% : Grade A • Percentage >= 80% : Grade B • Percentage >= 70% : Grade C • Percentage >= 60% : Grade D • Percentage >= 40% : Grade E • Percentage < 40% : Grade F

Write a program to input basic salary of an employee and calculate its Gross salary according to following: • Basic Salary <= 10000 : HRA = 20%, DA = 80% • Basic Salary <= 20000 : HRA = 25%, DA = 90% • Basic Salary > 20000 : HRA = 30%, DA = 95%