INDEX
S No. TOPIC SIGN
1 WAP to calculate area of area of a circle.
2 WAP to calculate area of a rectangle.
3 WAP to calculate simple interest by accepting the value
of principal, rate and time from users.
4 WAP to swap the value of 2 variables.
5 WAP to calculate perform arithmetic operations on
variables.
6 WAP to convert the data type of the following variable as
derailed
a = “10010” # into integer
b = 21.684 # into integer
c = 5460 # into float
DOB = 06052010 # into str.
7 WAP to accept two values from user and print the
greatest number.
8 WAP to accept the marks from user and print their
grades based on different conditions usings if – Elif – else.
I) marks > 75 (“you get an A grade”)
II) marks > 60 (“you get B grade”)
III) marks > 45 (“you get C grade”)
IV) less than 45 (work hard to get good grades)
9 WAP to accept 3 values from user and print the greatest
number by using nested if.
10 WAP to find greatest of three numbers using if-Elif -else.
11 WAP to check if a number is odd or even using if-else.
12 WAP to check whether the given number is positive
integer or negative integer.
13 WAP to convert temperature from Fahrenheit (0F) to
Celsius (0C) using following algorithm:
I) Take the temperature in Fahrenheit from the user
II) calculate temperature with formula
C = 5/9*(F-32)
III) display the value of C
INDEX
14 Write a program to check if a person can vole (check if
age is greater or equal to 18) accept the age from user.
15 Write a program to check age criteria:
I) 0-12 - “Kid”
II) 12-19 - “teenager”
III) 20-30 - “young”
IV) 30-45 - “mature”
V) 45-60 - “Experience”
VI) 60-75 - “old”
VII) 75 above - “senior citizen”