[E-3]
Write a function that prints a block of R
rows of C stars. If R is 5 and C is 7 the function prints:
******* ******* ******* ******* ******* ******* *******
Write the function so that it uses starLine()
from the first puzzle.
Here is a skeleton of the function and a
main()
program that exercises it:
#include <stdio.h> void starLine( int n ) { } void starBlock( int rows, int cols ) { } int main() { starBlock( 5, 7 ); return 0; }