sabaahmedd / sabaahmed1

0 stars 0 forks source link

printing a table #4

Open sabaahmedd opened 1 year ago

sabaahmedd commented 1 year ago

Would you kindly assist me with printing a table of user-entered numbers in the C programming language?

abeerr33 commented 1 year ago

yes sure u can print the table by doing this coding

include

int main() { int n, i; printf("Enter an integer: "); scanf("%d", &n); for (i = 1; i <= 10; ++i) { printf("%d %d = %d \n", n, i, n i); } return 0; }