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

please use basic C Q8. (15 points) Students can more readily develop an understa

ID: 3598247 • Letter: P

Question

please use basic C

Q8. (15 points) Students can more readily develop an understanding of multiplication concepts if they see band arranged in equal rows or chairs set up in rows in an auditorium. These arrangements all havee something in common; they are all in rows and columns. An arrangement of objects, pictures, or numbers in columns and rows is called an array. Arrays are useful representations of multiplication concepts. Write a program that asks students to enter two non-zero single digit integers for multiplication. Then print a graphic like the following figure. (You can use your own format and use your own symbols for printing the output.) Please submit a repl.it url link for your program factor factor product 6 x 3-18 objects in each row total number of objects rows

Explanation / Answer

Here is the code :

#include <stdio.h>

//main program

int main(){

  

int num1,num2;  

//take input from the user

printf("Enter 2 single digit numbers : ");

scanf("%d",&num1);

scanf("%d",&num2);

  

//graphical representation of multiplication

for(int i = 0; i<num1 ; i++){

for(int i = 0; i<num2 ; i++){

printf("* ");

}

printf(" ");

}

return 0;

}

Output :

Enter 2 single digit numbers :

7

4

graphical representation of multiplication :

* * * *

* * * *

* * * *

* * * *

* * * *

* * * *

* * * *

**If you have any query , please feel free to comment with details.

**Happy leaning :)