Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int n = 150;
- //////////////////////////////////////////////////// unsigned
- int main() //
- {
- //for(int n = 150; ; )
- Dima:
- printf("%3d) Columbia Pictures\n", n);
- n -= 15; // n = n - 15;
- if(n >= 0) goto Dima;
- scanf("%d", &n);
- }
- /*
- #include <stdio.h>
- //////////////////////////////////////////////////// unsigned
- int main() //
- {
- for(int n = 150; n >= 0; )
- {
- printf("%3d) SONY Pictures\n", n);
- n -= 15; // n = n - 15;
- }
- }
- */
- /*
- #include <stdio.h>
- int n = 70;
- //////////////////////////////////////////////////// unsigned
- int main() //
- {
- do
- {
- printf("%2d) SONY Pictures\n", n);
- n = n - 7;
- } while(n > 0);
- }
- */
- /*
- #include <stdio.h>
- void foo1();
- void foo2();
- int n1 = 1;
- int n2 = 2;
- //////////////////////////////////////////////////// unsigned
- int main() //
- {
- if(n1 == 77) foo1();
- else foo2();
- }
- //////////////////////////////////////////////////////
- void foo1()
- {
- printf("SONY Pictures");
- }
- //////////////////////////////////////////////////////
- void foo2()
- {
- printf("Error!");
- }
- */
- /*
- #include <stdio.h>
- int n1 = 1;
- int n2 = 2;
- //////////////////////////////////////////////////// unsigned
- int main() //
- {
- if(n1 == 2)
- {
- printf("SONY Pictures");
- }
- else
- {
- printf("Error!");
- }
- }
- */
- /*
- #include <stdio.h>
- int n = 1;
- //////////////////////////////////////////////////// unsigned
- int main() //
- {
- while(n < 8)
- {
- printf("%d) SONY Pictures\n", n);
- n++;
- }
- }
- */
- /*
- #include <stdio.h>
- int n = 7;
- //////////////////////////////////////////////////// unsigned
- int main() //
- {
- while(n > 0)
- {
- printf("%d SONY Pictures\n", n);
- n--;
- }
- }
- */
- /*
- #include <stdio.h>
- int n = 77;
- //////////////////////////////////////////////////// unsigned
- int main() //
- {
- if(n < 100)
- {
- printf("SONY Pictures");
- }
- }
- */
- // True != 0
- // False = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement