Question: c language 1) Write a user defined function named: fillSquare, with a char character and an unsigned integer as parameters. The function uses the char
c language

1) Write a user defined function named: fillSquare, with a char character and an unsigned integer as parameters. The function uses the char symbol to fill a square, i.e. with a"", and a 3 are passed into the function, a square of 3x3 of ~ symbols are printed, example below, the function return nothing The main function will prompt the user to enter an unsigned integer and a char. Read in the two values and call the user function. (15 pts) 2) Write loops that perform each of the following one-dimensional array operations: Do not have to write entire program, but it is OK if chosen doing so. (10 pts) a) Read the 20 elements of double array sales from the keyboard. b) Add 1000 to each of the 75 elements of double array allowance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
