Question: Array Programs Implement a grades array of capacity 5, using a constant variable. Request grades from the console. Calculate and output the average grade. 1.

 Array Programs Implement a grades array of capacity 5, using a

Array Programs Implement a grades array of capacity 5, using a constant variable. Request grades from the console. Calculate and output the average grade. 1. Example Output Enter a grade: 92 Enter a grade: 54 Enter a grade: 89 Enter a grade: 88 Enter a grade: 54 Grades: 92 43 89 88 54 The average grade is 75.4 2. Store a the following 20x7 image into a two dimensional array. Then output the two dimensional array. You may refer to the similar problem from WK6 In Class Assiqnment solutions. 3. Implement an array of all letters in the alphabet. Output the array. Use a loop to reverse the array. output the reversed array Hint: Set a variable for first and last position. Swap those values. Gradually move the first/last pointers to the middle, swapping as you go. When middle is reached, the array will be reversed. Exampl output original: A BCD EFGH IJKLM N O PQR STUV W x Y 2 Reversed: Z Y X W V U T S R Q P O N M L K J I H G F E D C B A 4. Create an array of integers. Implement code that can determine the minimum and maximum values of the array. output the array, minimum and maximum values. Test with different array values Example Output 52 93 26 56 73 65 84 73 Max: 26 Min: 93

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!