using c program
Posted: Fri May 20, 2022 2:29 pm
using c program
. Write a program to print two (or more) rectangles with different dimensions (width x height), made of different characters, e.g. 14 x 7 rectangle made of Os 8 x 2 rectangle made of Xs 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 o Use a separate function with appropriate parameters to avoid code duplication Call it twice from the main function XXXXXXXX XXXXXXXX “Bonus": Allow the dimensions and character to be given by the user in an interactive manner
. Write a program to print two (or more) rectangles with different dimensions (width x height), made of different characters, e.g. 14 x 7 rectangle made of Os 8 x 2 rectangle made of Xs 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 00000000000000 o Use a separate function with appropriate parameters to avoid code duplication Call it twice from the main function XXXXXXXX XXXXXXXX “Bonus": Allow the dimensions and character to be given by the user in an interactive manner