Program Input and Output Summary
1. Personal Details
-------------------
Enter your Name = Aarav
Enter your Father's Name = Amit
Enter your Class = 9
Enter your School Name = Sunrise Public School
My name is Aarav
My father's name is Amit
I study in 9
My school's name is Sunrise Public School
2. Area & Perimeter of Rectangle
--------------------------------
Enter the length of the rectangle: 8
Enter the breadth of the rectangle: 5
Area of Rectangle = 40
Perimeter of Rectangle= 26
3. Voting Eligibility
---------------------
Enter Age : 17
You are Not Eligible to Vote.
4. Average of 3 Subjects
------------------------
Enter the marks of English = 85
Enter the marks of Maths = 90
Enter the marks of Science = 80
Average of 3 subjects = 85.0
5. Positive/Negative/Zero Check
-------------------------------
Enter the Number: -4
Negative Number
6. Largest of Two Numbers
--------------------------
Enter first number: 23
Enter second number: 56
Largest number is 56
7. Even or Odd Check
---------------------
Enter a number: 19
Odd number
8. Swapping Two Numbers
------------------------
Enter first number: 12
Enter second number: 45
After swapping:
First number = 45
Second number = 12
9. Multiplication Table of 7
-----------------------------
Enter a number: 7
7x1=7
7 x 2 = 14
7 x 3 = 21
7 x 4 = 28
7 x 5 = 35
7 x 6 = 42
7 x 7 = 49
7 x 8 = 56
7 x 9 = 63
7 x 10 = 70
10. Simple Interest
-------------------
Enter Principal amount: 5000
Enter Rate of Interest: 6
Enter Time (in years): 2
Simple Interest = 600.0
11. Factorial
-------------
Enter a number: 5
Factorial of 5 is 120
12. Fibonacci Series
--------------------
Enter number of terms: 7
Fibonacci Series:
0112358
13. Reverse a Number
---------------------
Enter a number: 1234
Reversed number is 4321
14. Prime Number Check
-----------------------
Enter a number: 13
13 is a prime number
15. Sum of Digits
------------------
Enter a number: 573
Sum of digits is 15
16. Largest of 3 Numbers
-------------------------
Enter first number: 12
Enter second number: 67
Enter third number: 34
Largest number is 67
17. Leap Year Check
--------------------
Enter a year: 2024
2024 is a leap year
18. Count Vowels in String
---------------------------
Enter a string: Celebration
Number of vowels: 5
19. Sum of First N Natural Numbers
----------------------------------
Enter N: 10
Sum of first 10 natural numbers is 55
20. Celsius to Fahrenheit
--------------------------
Enter temperature in Celsius: 37
Temperature in Fahrenheit: 98.6