Problem description

Objective: Demonstrate an understanding of array processing.

1. Write a function that accepts the name of a file, an array of strings, and the size of the array. Display each character of each string vertically to the file. For example, if the array is called with an array of 3 strings "hello", abc, bye, the output will be:

h
e
l
l
o
....
y
e

Test your function with a string declaration of:

string name[] = {"hello", "abc", "bye"};

2. Write a function that accepts a 2-dimensional array of double values. The function returns the lowest value of the entire array. In your main function, define a 2-dimensional array as following, call the function, and display the lowest value.

define constant variables MAXROW = 3 and MAXCOL = 4 before the main function as global constants.

23.5 35 2 10
4.5 3 45 3.5
35 44 5.5 9.6

You can ask the user for the above data or initialize the array as in the following:

The header of the function is as follows:

double findLowest(double [][MAXCOL])

The lowest value should be 2.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.