Practical File Questions
Practical File Questions
1. Write a program to input two numbers and find out their sum and
product.
2. Write a program to input the length and breadth of the rectangle and
calculate the area.
3. Write a program to input principle, rate of interest and time,
calculate the simple interest.
4. Write a program to find the area and perimeter of the circle.
5. Write a program to find square and cube of numbers.
6. Write a program to find average of marks in 5 subjects with name.
7. Write a program to find out the selling price of a product, cost price
and profit have to be expected by the user.
8. Write a program to convert given time (in minutes) into hours and
minutes.
9. Write a program to find out the total time taken by a student who is
travelling 450 km with average speed.
if statements:-
Nested if-elif:-
While Loop:-
Nested Loop:-
(ii)
1
3 3
5 5 5
7 7 7 7
9 9 9 9 9
(iii)
5
4 5
3 4 5
2 3 4 5
1 2 3 4 5
Jump Statements:-