Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- int num1, num2;
- printf("Entre com dois numeros");
- scanf("%d%d",&num1,&num2);
- if(num1 == 1)
- printf("1");
- else if(num2 == 1)
- printf("1");
- else
- printf("0");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement