You are on page 1of 6

Programming Activity

1. Write a program to display the


following output.
Subject Marks
Mathematics 90
Computer 77
Chemistry 69
2. Write a program which accept
two numbers and print their
sum, difference, product,
quotient and the remainder.
3. Write a program which accept
temperature in Farenheit and print it
in centigrade.
Use the formula:
centigrade=5*(Farenheit-32)/9;
4. Write a program which accept
principal, rate and time from
user and print the simple
interest.
Use the formula:
interest=(principal*rate*time)/100
5. Write a program to calculate
area of circle.
Use the formula:
area = 3.14*radius*radius

You might also like