Question: 2) (40 pts) a) (20 pts) Write a function that accepts a pointer and an integer number as arguments. When calling function with an array
2) (40 pts) a) (20 pts) Write a function that accepts a pointer and an integer number as arguments. When calling function with an array of float numbers and its size, it returns the average value of the array's elements. 3) (20 pts) Write a program that asks the user for the name of a text file. The file is opened and read, each character is processed as follow: - if it is a letter, the character is converted to upper case. - if it is a digit, the character is changed to '#'. Then it is written to a second file called out.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
