Untitled
unknown
plain_text
2 years ago
267 B
11
Indexable
#include <iostream>
using namespace std;
int main()
{
int a = 0;
cin >> a;
int b;
cin >> b;
if (a < 0 && a % 2 != 0 && b > 0 && b % 2 == 0) {
cout << b - a;
}
else {
cout << "no";
}
return 0;
}Editor is loading...