Assignment Day-5
1. Write a program to store a list of integers in an array and print the following:
(a)
The maximum value of the array
(b)
The minimum value of the array
(c)
The average value
(d)
Find the sum of odd numbers from the array
(e) Print the array contents in reverse
2. Write a C program that can sort n numbers stored in a one dimensional array. Here n and list of numbers are user input.
3.Write a C program that can copy the list of data item from one array to another array.
4.Write a C program to search an element 45 in an array of size n, where the number n has to be supplied by the user.
5. Write a C program to enter elements in a matrix of size 4x4. Write a C program to add two matrix (A and B), each of size 4x4 and store the result in a third matrix (C).
![]() |
| Method--2 |

Very good job
ReplyDeleteArvind
Keep it up 😉
🙂🙂🙂
DeleteWho am I ?
DeleteSahil hi hoge 😅😅
Delete😂
Delete