Advertisement
kamandos

HomeWork

Jul 16th, 2022
661
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include <stdio.h>
  2. int main() {
  3.   int n, i;
  4.   printf("Enter an integer: ");
  5.   scanf("%d", &n);
  6.   for (i = 1; i <= 10; ++i) {
  7.     printf("%d * %d = %d \n", n, i, n * i);
  8.   }
  9.   return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement