Untitled
unknown
plain_text
2 years ago
320 B
9
Indexable
#include <iostream>
using namespace std;
int main()
{
int a;
int b;
cin >> a >> b;
if (a > b) {
if (b % 2 == 0) {
cout << "meow";
}
else cout << "bark";
}
else cout << "bark";
if (b > a) {
if (a % 2 == 0) {
cout << "meow";
}
else cout << "bark";
}
else cout << "bark";
}Editor is loading...
Leave a Comment