Untitled
Anonymous
c_cpp
11/12/2023 7:52 AM
484 B
16
Indexable
#include <iostream>
using namespace std;
int main()
{
int a;
cin >> a;
int b;
cin >> b;
if (a <= b) {
if (a % 2 == 0) {
cout << "meow";
}
else cout << "bark";
}
if (a >= b) {
if (b % 2 == 0) {
cout << "meow";
}
else cout << "bark";
}
}
Editor is loading...