Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hello you guys, Would anyone like to give me suggestions on how tomake a code fo

ID: 3614484 • Letter: H

Question

Hello you guys, Would anyone like to give me suggestions on how tomake a code for the following pattern? Please note that the numbersarent part of the pattern, they are just a guide for row andcolumn.

* * * * * # ##          1
* * * * # # ##         2            [B] ROW [/B]
* * * # # # ##          3

1 2 3 4 5 6 7 8
     [B]COL[/B]

Its a 3 x 8 box, the sides represents the rows and the top part ofthe pattern is the columns. I tried doing the folowing codebut it didnt work:
let i =row and j=column

for (i=1; i <= 3; ++i) {
     for (j=5; j >= 1; --j) {
        printf("*");
    }
     for( j=4;j <= 8;++i) {
       printf("#");
     }

Any suggestions????

Explanation / Answer

please rate - thanks this should get you started #include #include int main() {int i,j,cols=8,start=5,k=0; for(k=0;k
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote