Question: I need a printf statement that says Invalid number inputed for multiplication table. when the user puts in 0. My work so far: #includestdio.h

I need a printf statement that says " Invalid number inputed for multiplication table." when the user puts in 0.

My work so far:

I need a printf statement that says " Invalid number inputed for

#includestdio.h 3 int main() int n, 1, J5 printf("Enter a number: ; scanf("%d", &n); printf("The multiplication table 6 of %d is: ", n); 8 9 if(n>0){ for (i 1; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!