Question: I need these in C Array Programs 1. Create a program that contains an integer array of 7 elements. Ask the user for the calorie

I need these in C

I need these in C Array Programs 1. Create a program that

Array Programs 1. Create a program that contains an integer array of 7 elements. Ask the user for the calorie quantity that they ate each day for 7 days. You must use a loop! Once you have all the numbers entered by the user, display all the entered numbers and the total average calories per day that were eaten! 2. Create a program that contains an integer array of 10 elements. The user will then enter in all 10 values using a loop. Display the contents of the array. Swap the 2nd and 4th elements and swap the 6th and 8th elements. Print the contents of the array again. 3. Create a program that initializes an array to the following values: 18.65, 24.56 99.32, 70.14, 35.78, 6.90. Display the contents of the array and then display the statistical range (largest number - smallest number). You may not sort the array. 4. Create a program that will allow the user to enter 10 numbers into an array. Using a loop, count the number of even numbers that the user has entered. Display the entire contents of the array and the number of even numbers. 5. Create a program that will allow the user to enter in 5 numbers into an array. Display the array. Shift all of the numbers to left and move the first number into the last position. Display the array again. 6. Create a program that will initialize an array to the following values: 21, 32, 43, 54, 65, 76, 87, 98. Print the contents of the array. Reverse the elements in the array. Print the contents of the array. (You may NOT print it backwards!)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!