EVEN OR ODD | IF ELSE IN C++
#include<iostream>
using namespace std;
int main()
{
//IF ELSE:EVEN OR ODD
int n;
cin>>n;
if(n%2==0)
cout<<"Even";
else
cout<<"Odd";
return 0;
}
THANKS FOR VISITING
💓💓💓
Subscribe To My Channel: CODEWITHARYAN
Comments
Post a Comment