- WAP to read radius of circle and calculate Area and Circumference

i/p:

Enter radius: 5

o/p:

Area of circle is 31.5

Circumference of circle is 78.5 - WAP to read 3 numbers and find their meani/p:

Enter number 1: 5

Enter number 2: 6

Enter number 3: 7

o/p:

Mean of 5, 6 and 7 is 6 - WAP to read 2 numbers and find Sum of their last digiti/p:

Enter number 1: 52

Enter number 2: 65

o/p:

2 + 5 = 7 - WAP to read 4 digit number and sum of its digitsi/p: Enter a number: 1234

o/p:

1 + 2 + 3 + 4 = 10 - WAP to read radius of Sphere and find its Volumei/p:

Enter radius: 5

o/p:

Volume of sphere having radius 5 is 523.6 - WAP to read 3 digit number and sum of its digiti/p:

Enter a number: 123

o/p:

1 + 2 + 3 = 6 - WAP to read 4 digit number and find reverse of that numberi/p:

Enter a number: 1234

o/p:

Reverse of 1234 is 4321 - WAP to read temperature in degree Celsius and convert it into Fahrenheiti/p:

Enter temperature in Celsius: 38

o/p:

Temperature in Fahrenheit is 100.4 - WAP to read value in inches and print it in feet and inchesi/p:

Enter length in inches: 20

o/p:

20 inches is equal to 1 foot and 8 inches - WAP to read marks of 5 subjects and print total and percentagei/p:

Enter marks for maths: 50

Enter marks for science: 50

Enter marks for history: 50

Enter marks for english: 50

Enter marks for marathi: 50

o/p:

Total Marks: 250

Percentage: 50% - WAP to read 2 numbers and exchange their values using third variablei/p:

Enter value for x: 5

Enter value for y: 6

o/p:

After swapping value of x is 6 and value of y is 5 - WAP to read 2 numbers and exchange their values without using third variablei/p:

Enter value for x: 5

Enter value for y: 6

o/p:

After swapping value of x is 6 and value of y is 5 - WAP to read Lenght, Breadth and Height and find its volume and surface areai/p:

Enter length: 5

Enter breadth: 6

Enter height: 7

o/p:

Volume of box is 210

Surface are of box is 214

List of these programs is very helpful to me. Thank you