You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
int a;
|
|
int b;
|
|
int c;
|
|
|
|
int main()
|
|
{
|
|
if (a
|
|
& b)
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
if ( a
|
|
| b )
|
|
{
|
|
return 2;
|
|
}
|
|
|
|
if ( a
|
|
^ b)
|
|
{
|
|
return 3;
|
|
}
|
|
|
|
c = a
|
|
+ b;
|
|
|
|
c = a
|
|
- b;
|
|
|
|
c = a
|
|
* b;
|
|
|
|
c = a
|
|
/ b;
|
|
|
|
return 0;
|
|
}
|