Advertisement
Schknheit

Untitled

Mar 11th, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(){
  4.    
  5.     int num1, num2;
  6.    
  7.     printf("Entre com dois numeros");
  8.     scanf("%d%d",&num1,&num2);
  9.     if(num1 == 1)
  10.     printf("1");
  11.    
  12.     else if(num2 == 1)
  13.     printf("1");
  14.    
  15.     else
  16.     printf("0");
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement