1.
Simple numeric problems:
Write a program for find the max and min from the three numbers.
2. Simple numeric problems:
Write the program for the simple, compound interest.
3. Simple numeric problems:
Write program that declares Class awarded for a given percentage of marks, where
mark<40%= Failed, 40% to <60% = Second class, 60% to <70%=First class, >= 70% =
Distinction. Read percentage from standard input.
4. Simple numeric problems:
Write a program that shows the binary equivalent of a given positive number between 0 to
255.
5. Expression Evaluation:
Write a C program, which takes two integer operands and one operator from the user,
performs the operation and then prints the result. (Consider the operators +, -, *, /, % and
use Switch Statement)
6. Expression Evaluation:
Write a program that finds if a given number is a prime number
7. Expression Evaluation:
Write a C program to find the sum of individual digits of a positive integer and test given
number
is palindrome.
8. Expression Evaluation:
A Fibonacci sequence is defined as follows: the first and second terms in the sequence are
0 and 1. Subsequent terms are found by adding the preceding two terms in the sequence.
Write a C program to generate the first n terms of the sequence.
9. Expression Evaluation:
Write a C program to generate all the prime numbers between 1 and n, where n is a value
supplied by the user.
10. Arrays and Pointers and Functions:
a. Write a C program to find the minimum, maximum and average in an array of integers.
11. Arrays and Pointers and Functions
Write a C program that uses functions to perform Addition of Two Matrices
12. Arrays and Pointers and Functions
Write a C program that uses functions to perform Multiplication of Two Matrices
13. Arrays and Pointers and Functions
Write C programs that use both recursive and non-recursive functions to find the factorial of a
given integer.
14. Arrays and Pointers and Functions
Write C programs that use both recursive and non-recursive functions to find the GCD (greatest
common divisor) of two given integers.
15. Arrays and Pointers and Functions
Write C programs that use both recursive and non-recursive functions to find x^n
16. Arrays and Pointers and Functions
Write a program for display values reverse order from array using pointer.
17. Arrays and Pointers and Functions
Write a program through pointer variable to sum of n elements from array.
18. Sorting and Searching:
Write a C program that uses non recursive function to search for a key value in a given list of
integers using linear search method.
19. Sorting and Searching:
Write a C program that uses non recursive function to search for a key value in a given sorted list
of integers using binary search method.
20. Sorting and Searching:
Write a C program that implements the Bubble sort method to sort a given list of integers in
ascending order.
21. Sorting and Searching:
Write a C program that sorts the given array of integers using selection sort in descending order
22. Sorting and Searching:
Write a C program that sorts the given array of integers using insertion sort in ascending order
23. Expression Evaluation:
Write a C program to read in two numbers, x and n, and then compute the sum of this geometric
progression: 1+x+x^2+x^3+………….+x^n. For example: if n is 3 and x is 5, then the program
computes 1+5+25+125.
24. Simple Numeric Problems:
Write a program that prints a multiplication table for a given number and the number of rows in
the table. For example, for a number 5 and rows = 3, the output should be:
5x1=5
5 x 2 = 10
5 x 3 = 15
25. Write a simple program that prints the results of all the operators available in C