Untitled
Anonymous
plain_text
11/15/2023 11:28 AM
428 B
20
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