You are on page 1of 1

1.

Write a C program that will take the radius of a circle as input and provide its circumference and area
as output (up to two decimal places).
2. Write a C program that will take temperature in Celsius or Fahrenheit and convert it to Kelvin.
𝐶 𝐹−32 𝐾−273
Hints: 5 = 9 = 5
3. Write a C program to find the average of all prime numbers up to n.
4. Write a C program that will take the number of rows as input and create the following pattern:

5. Write a C program to find the number of uppercase and lowercase alphabets in a string.
6. Write a C program that will arrange the alphabets of a word in descending order.
7. Write a C program that will add all the odd numbers up to ‘n’ using recursion.
8. Write a C program that will take an integer (other than 0) as input give the following as output:
a. If the number is even or not. If it is even, is it divisible by 3 or not.
b. Else (not even), is it divisible by 5 or not.

You might also like