Question: a. Write a C program to scanf 5 numbers and add them to the array. Multiply all array elements by 3 and calculate the average

a. Write a C program to scanf 5 numbers and add them to the array. Multiply all array elements by 3 and calculate the average of them all. Print the multiplied array and the result of the average value. b. Write a C program to print the numbers in triangular form starting from the number asked by a user. If starting number is 1 , the output result will be as bellow: 1 12 123 1234 Please use printf function in your code ONLY ONES
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
