Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main() {
- int NUMBER, ANSWER, i;
- printf("Enter a number = ");
- scanf("%d", &NUMBER);
- for (i = 1; i < 11; i++) {
- ANSWER = NUMBER * i;
- printf("%d * %d = %d\n", NUMBER, i, ANSWER);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment