Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- //////////////////////////////////////////////////
- int main() //
- {
- int i = 2147483647;
- //for(int i = 1; i < 10; i += 1 )
- while(i > 2147483647 - 100)
- {
- printf("i = %d \n", i);
- i -= 20;
- }
- }
- /*
- #include <stdio.h>
- //////////////////////////////////////////////////
- int main() //
- {
- int a = 7,
- i = 1;
- Vlad:
- for(int i2 = 1; i2 < 10; i2++)
- {
- printf("%d * %2d = %3d \n", i, i2, i*i2 );
- } printf("- - - - - - - - - \n");
- i = i + 1;
- if(i < 10) goto Vlad;
- }
- */
- /*
- #include <stdio.h>
- //////////////////////////////////////////////////
- int main() //
- {
- int a = 7;
- for(int i = 1; i < 10; i++)
- {
- for(int i2 = 1; i2 < 10; i2++)
- {
- printf("%d * %2d = %3d \n", i, i2, i*i2 );
- } printf("- - - - - - - - - \n");
- }
- }
- */
- /*
- #include <stdio.h>
- //////////////////////////////////////////////////
- int main() //
- {
- int a = 7;
- printf("7 * 1 = 7 \n");
- printf("7 * 2 = 14 \n");
- printf("7 * 3 = 21 \n");
- printf("7 * 4 = %d \n", 7 * 4);
- printf("7 * 5 = %d \n", 35);
- printf("7 * 6 = 42 \n");
- printf("7 * 7 = %d \n", 7*7);
- printf("7 * 8 = 56 \n");
- printf("7 * 9 = 63 \n");
- }
- */
- /*
- #include <stdio.h>
- int main()
- {
- int a = 122,
- b = 2,
- c = 0;
- c = a + b;
- printf("Hello, %s! 122 + 2 = %d", "Vlad", c);
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement