JohnHolmes
April 15th, 1999, 09:33 PM
Hi. Could someone do this and send it to locop69@hotmail.com. They will be greatly rewarded however they choose.
Arrays and files can be used with functions.
1. Write the following array processing functions.
(a) Write a function SetElement that will read values from an input file, and set the corresponding array elements. The array, the size of the array, and the input file must be passed as parameters to the function.
(b) Write a function IncDlag which will increment left and right diagonal elements by 2.
(c) Write a function PrintRowWise that will print the array elements, one row per line. The array, the size of the array, and the output file must be passed as%2
Arrays and files can be used with functions.
1. Write the following array processing functions.
(a) Write a function SetElement that will read values from an input file, and set the corresponding array elements. The array, the size of the array, and the input file must be passed as parameters to the function.
(b) Write a function IncDlag which will increment left and right diagonal elements by 2.
(c) Write a function PrintRowWise that will print the array elements, one row per line. The array, the size of the array, and the output file must be passed as%2