SIMPLE PROGRAMS
1 .Write a menu driven program to convert the given temperature
from Fahrenheit to Celsius and vice versa depending upon user’s
choice.
2. WPA to calculate total marks, percentage and grade of a student.
Marks obtained in each of the three subjects are to be input by the
user. Assign grades according to the following criteria:
Grade A: Percentage>=80
Grade
Percentage>=70 and
<80 Grade C:
Percentage>=60 and
<70 Grade D:
Percentage>=40 and
<60 Grade E:
Percentage<40
3. Write a menu driven program using user defined function to find
the area of rectangle, square, circle and triangle by accepting
suitable input parameters from users.
4. WAP to display the first ‘n’ terms of Fibonacci Series.
5. WAP to find Factorial of the given number.
6. WAP to find sum of the following series for n terms
1-2/2! + 3/3! ..... n/n!
(VISUAL PYTHON)
1. Write a menu driven program to create mathematical 3D
objects.
1.Sphere
2.Cylinder
2 . WAP to read in integers and display them as a Histogram.
3. WAP to display sine, cosine, polynominal and exponential
curves.
4. WAP to plot a graph of people with pulse rate P vs. height h. The
values of P and h to be entered by the user
5. Input initial velocity and acceleration, and plot the following
graphs depicting equation of motion.