C Programs: 1. Write A C Program To Determine The Sum of Odd and Even Numbers
The document contains 10 programs written in C language with their purpose and code. Program 1 determines the sum of odd and even numbers. Program 2 counts the number of positive, negative and zero numbers in a list. Program 3 performs linear search to find a given number. Program 4 performs binary search. Program 5 performs matrix addition. Program 6 performs matrix subtraction. Program 7 swaps two arrays. Program 8 performs matrix multiplication. Program 9 finds the sum of diagonal elements in a matrix. Program 10 is a sample output for program 9.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
150 views16 pages
C Programs: 1. Write A C Program To Determine The Sum of Odd and Even Numbers
The document contains 10 programs written in C language with their purpose and code. Program 1 determines the sum of odd and even numbers. Program 2 counts the number of positive, negative and zero numbers in a list. Program 3 performs linear search to find a given number. Program 4 performs binary search. Program 5 performs matrix addition. Program 6 performs matrix subtraction. Program 7 swaps two arrays. Program 8 performs matrix multiplication. Program 9 finds the sum of diagonal elements in a matrix. Program 10 is a sample output for program 9.