Advertisement
Avdluna

sdasd

May 24th, 2015
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     int n,i=0;
  7.  
  8.     while(i != EOF){
  9.         scanf("%d",&n);
  10.  
  11.         if(n > 0){
  12.             printf("vai ter duas!\n");
  13.         }
  14.  
  15.         else{
  16.             printf("vai ter copa!\n");
  17.         }
  18.     }
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement