Write a complete program that inputs 2 integers from "cin" and uses "cout" to print the word "yes" if both numbers are even , otherwise the program outputs "no"
#include <iostream>
using namespace std;
int main()
{
int x;
int y;
cout<< "input 1st value" << endl;
cin>> x;
cout<< "input 2nd value" << endl;
cin>> y;
if(???????????? ???????????);
{
cout << "YES" << endl;
}
else
{
cout <<"NO" << endl
}
}
HELP ME
#include <iostream>
using namespace std;
int main()
{
int x;
int y;
cout<< "input 1st value" << endl;
cin>> x;
cout<< "input 2nd value" << endl;
cin>> y;
if(???????????? ???????????);
{
cout << "YES" << endl;
}
else
{
cout <<"NO" << endl
}
}
HELP ME
Comment