Friday, August 9, 2024

C PROGRAMMING

 

C PROGRAMMING

1.     Write a C program to find the average of any two numbers given by the user.

2.     Write a C program to calculate the average of three numbers.

3.     Write a C program to calculate the volume of a cylinder.

4.     Write a C program to calculate distance travelled by a body.

5.     Write a C program using to get radius of circle and then print its area.

6.     Write a C program to calculate and print the volume of a box.

7.     Write a C program to get radius of a circle and then print its circumference.

8.     Write a C program to calculate the area of four walls.

9.     Write a C program in QBASIC to find the total surface area of a box.

10.  Write a C program to calculate and print the simple interest.

11.  Write a C program to get temperature in celsius from the user and then print the temperature in fahrenheit.

12.  Write a C program to find the area of triangle.

13.  Write a C program to get temperature in fahrenheit from the user and then print the temperature in celcius.

14.  Write a C program to convert USD(dollar) into NC (NEPALI currency).

15.  Write a C program to convert NC (NEPALI currency) into IC (Indian Currency)

16.  WRITE A C PROGRAM  to display whether the given number is positive, negative or zero.

17.  Write a C program to test whether the given number is completely divisible by 13 or not.

18.  WRITE A C PROGRAM  to check whether the given number is divisible by 3 and 5 or not.

19.  WRITE A C PROGRAM  to enter age and display whether a person can vote or not.

20.  Write a C program to display the smaller among two numbers.

21.  Write a C program to input three different and find the greatest number.

22.  WRITE A C PROGRAM  to display middle number among three different numbers.

23.  Write a C program to check whether the given number is odd or even.

24.  WRITE A C PROGRAM  to check whether the given year is leap year or not.

25.  WRITE A C PROGRAM  to check whether the given number is perfect square or not.

26.  Write a C program to print the following series 9,7,5,…1.

27.  Write a C program to print the series 1,1,2,3,5,8… upto ten terms.

28.  Write a C program to print natural numbers from 1 to 5.

29.  Write a C program to print the first ten odd numbers.

30.  Write a C program to print the sum of digits of a given number.

31.  WRITE A C PROGRAM  to display product of digits.

32.  WRITE A C PROGRAM  to reverse the given digits.

33.  Write a C program to print the multiplication table of any input number up to tenth terms.

34.  WRITE A C PROGRAM  to check whether the given number is prime or not.

35.  WRITE A C PROGRAM  to check whether the given number is palindrome or not.

1 comment:

  1. Thanks for this useful information.
    When it comes to finding the best computer course in Laxmi Nagar, BIIT Technology stands out as a beacon of innovation and excellence. Imagine immersing yourself in a learning environment that not only embraces traditional teaching methods but also integrates modern technology seamlessly into its curriculum. At BIIT, students have access to cutting-edge resources and experienced instructors who are passionate about bridging the gap between theory and real-world application.

    ReplyDelete