(2 ptrs) Write a function to calculate the minimum, and average value of an array. The function should be passed the array an

(2 ptrs) Write a function to calculate the minimum, and average value of an array. The function should be passed the array and an integer representing the size of the array. (1 ptr) Write the code to get an integer in the range 1-8 from the user. If the integer is outside of this range the code should print an error message and request a new number. (3 ptrs) Write code that uses nested loops to print a 10×10 multiplication table (2 ptrs) Write a swap() function that uses pass-by-reference to swap the values of two integer arguments. (2 ptrs) Write a swap_ptr() function that uses pointers to swap the values of two integer arguments



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *