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
using c program
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am