Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
1. Write a C program to find if an entered number is even or odd.
2. Write a C program to find area of a triangle.
3. Write a C program to find the sum and average of marks obtained by a student in five different subjects. 4. Write a C program to swap the values of two variables with and without using a third variable. 5. Write a C program to calculate simple interest. 6. Write a program to find the number and sum of all integers greater than 100 and less than 200 that are divisible by 7. 7. Write a program to find the sum of individual digits of a positive integer. 8. Write a program to generate the first n terms of the Fibonacci sequence. 9. Write a program to generate all the prime numbers between 1 and n, where n is the input value given by the user. 10. Write a program to find the roots of a quadratic equation. 11. Write a program for addition of Two Matrices 12. Write a program for calculating transpose of a matrix. 13. Write a program for Matrix multiplication by checking compatibility 14. Write programs to find the factorial of a given integer by using both recursive and non-recursive functions. 15. Write a program to implement call by reference 16. Write a program to concatenate two strings by using standard string function and without using string function. 17. Write a C program to print the below pattern:
* ** *** **** ***** 18. Write a C program to print the below pattern: ***** **** *** ** *