Page 1 of 1

Question #1: a) Write a simple C program to print out a 3x3 array and find the smallest and largest number in the array.

Posted: Sun Jul 10, 2022 11:23 am
by answerhappygod
Question #1:
a) Write a simple C program to print out a 3x3 arrayand find the smallest and largest number in the array. Askuser for the elements.
b) Write a simple C program to print out a 3x3 arrayand find the sum and average of the diagonal elements. Askuser for the elements.
c) Write a simple C program to print out a 3x3 arrayand find the how many times a specific element is present inthe array. Ask user for the elements.
d) Write a simple C program to print out a 3x3 arrayand sort one row at a time in ascending order. Ask user forthe elements.