Even else - Insurance Tips

A Hub of Best Guide Health Insurance Tips

Saturday, March 28, 2020

Even else

#include
#include

using namespace std;

int main()
{
int a;
    cout<<"Enter any number"<    cin>>a;

    if(a%2==0)
{   
cout<<"The number is even"<}    else
{cout<<"The number is odd"<}
getch();
}

No comments:

Post a Comment