Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int n = 8,
- i = 7;
- /////////////////////////////////////////
- int main() //
- {
- printf(" 1\n");
- printf(" 2\n");
- printf(" 3\n"); goto Dima;
- printf(" 4\n");
- printf(" 5\n");
- printf(" 6\n");
- printf(" 7\n");
- Dima: printf(" 8\n");
- printf(" 9\n");
- printf("10\n");
- }
- /*
- #include <stdio.h>
- int n = 8,
- i = 7;
- /////////////////////////////////////////
- int main() //
- {
- if(i < n)
- {
- printf("True ");
- }
- else
- {
- printf("False");
- }
- }
- */
- /*
- #include <stdio.h>
- int n = 8,
- i = 1;
- /////////////////////////////////////////
- int main() //
- {
- L_01: printf("%d * %2d = %2d\n", n, i, n * i);
- i ++;
- if(i <= 10) goto L_01;
- }
- */
- /*
- #include <stdio.h>
- int n = 8,
- i = 1;
- /////////////////////////////////////////
- int main() //
- {
- L_01: printf("%d * %2d = %2d\n", n, i, n * i);
- i ++;
- if(i <= 10) goto L_01;
- }
- */
- /*
- #include <stdio.h>
- int n = 7;
- /////////////////////////////////////////
- int main() //
- {
- int i = 1;
- do
- {
- printf("%d * %2d = %2d\n", n, i, n * i);
- i ++;
- } while(i <= 10);
- }
- */
- /*
- #include <stdio.h>
- int n = 7;
- /////////////////////////////////////////
- int main() //
- {
- int i = 1;
- while(i <= 10)
- {
- printf("%d * %2d = %2d\n", n, i, n * i);
- i ++;
- }
- }
- */
- /*
- #include <stdio.h>
- int n = 7;
- /////////////////////////////////////////
- int main() //
- {
- for(int i = 1; i <= 10; i++)
- {
- printf("%d * %2d = %2d\n", n, i, n * i);
- }
- }
- */
- /*
- #include <stdio.h>
- /////////////////////////////////////////
- int main() //
- {
- for(int i = 0; i < 13; i++)
- {
- printf("%d, ", i);
- }
- }
- */
- /*
- #include <stdio.h>
- char A[30]="SONY Picheres";
- /////////////////////////////////////////
- int main() //
- {
- for(int i = 0; i < 13; i++)
- {
- printf("%d\n", A[i]);
- }
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement