# WAP to read radius of circle and calculate Area and Circumference
radius = 5;
area = 3.14 * radius * radius;
print (area);
circumference = 2 * 3.14 * radius;
print (circumference);
# WAP to read marks of 5 subjects and print total and percentage
m = 50;
s = 50;
h = 50;
e = 50;
ma = 50;
total_m = m + s + h + e + ma;
print(total_m);
per = total_m/5;
print(per);
# WAP to read 2 numbers and exchange their values using third variable
x = 5;
y = 6;
z = 0;
z = y;
y = x;
x = z;
print(x,y);
# WAP to read 2 numbers and exchange their values without using third variable
x = 5;
y = 6;
print(x,y);
x = (x*y);
y = (x/y);
x = (x/y);
print(x,y);
# WAP to read Lenght, Breadth and Height and find its volume and surface area
l = 5;
b = 6;
h = 7;
vol = l * b * h;
print(vol);
sa = (2 * l * b) + (2 * l * h) + (2 * b * h);
print(sa);
#WAP to read 3 numbers and find their mean
x = 5;
y = 6;
z = 7;
mean = (x+y+z)/3;
print(mean);
# WAP to read 2 numbers and find Sum of their last digit
x = 52;
y = 65;
sum = x%10 + y%10
print(sum);
# WAP to read 4 digit number and sum of its digits
num = 1234;
n1 = num//1000;
n2 = (num//100) % 10;
n3 = (num//10) % 10;
n4 = num % 10;
total = n1 + n2 + n3 + n4;
print(total);
#WAP to read radius of Sphere and find its Volume
radius = 5;
vol = (4/3) * 3.14 * radius * radius * radius;
print(vol);
# WAP to read 3 digit number and sum of its digit
num = 123;
n1 = num//100;
n2 = (num//10) % 10;
n3 = num % 10;
total = n1 + n2 + n3;
print(total);
# WAP to read 4 digit number and find reverse of that number
num = 1234;
n1 = num//1000;
n2 = (num//100) % 10;
n3 = ( num//10) % 10;
n4 = num % 10;
rev = n4 * 1000 + n3 * 100 + n2 * 10 + n1;
print(rev);
#WAP to read temperature in degree Celsius and convert it into Fahrenheit
c = 38;
F = (38*9/5)+32;
print(F);
#WAP to read value in inches and print it in feet and inches
li = 20;
ft = 20%12;
print(ft);