Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // display the multiplication table of a given integer//
- #include <stdio.h>
- 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;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement