Question: Computer Science II func. assignment #4 Write a C program that has 1 function: a. accepts as parameters two ints (row and column) b. evaluates
Computer Science II func. assignment #4 Write a C program that has 1 function: a. accepts as parameters two ints (row and column) b. evaluates the row and column and determines if the row and columns numbers would be on a checker board. c. In other words, are the row and column numbers greater than or equal to 0 and less than or equal to 7 d. Are the row and column numbers contained on an 8X8 array e. Return true if the row and column numbers are in the array else return false function headers should be: bool evaluateRowCol(int row, int col) in main 1. ask for the row and column numbers 2. read in the row and column numbers numbers 3. call your function bool evaluateRowCol(int row, int col) 4. output in main should be row ? column ? is on the checker board or is not on the checker board Use the output (cout) manipulators to format the output correctly [setw(?), fixed, right, left, etc]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
