Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int n = 7;
- ////////////////////////////////////////////////////
- int main() //
- {
- int i = 1;
- for(int i = 1; i < 10; i++)
- {
- printf("%d * %d = %d\n", n, i, n*i);
- }
- n = 8;
- L_01:
- printf("%d * %d = %d\n", n, i, n*i);
- // i = i + 1;
- // i += 1;
- i ++;
- if(i < 9) goto L_01;
- }
- /*
- #include <stdio.h>
- int n = 100;
- ////////////////////////////////////////////////////
- int main() //
- {
- if(n < 100) printf("n = %d < 100\n", n);
- if(n > 100) printf("n = %d > 100\n", n);
- if(n == 100) printf("n = %d ==100\n", n);
- }
- */
- /*
- #include <stdio.h>
- char sz[99] = "SONY";
- ////////////////////////////////////////////////////
- int main() //
- {
- int n = 71;
- printf("Enter n:");
- scanf("%d", &n);
- printf("n = %d", n);
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement