Friday, May 15, 2020

C++ program to check whether the No is Even Or Odd

//Check whether the No is Even Or Odd

int m=6;

if(m%2==0) { cout<<"Even\n"; } else { cout<<"Odd\n"; }

No comments:

Post a Comment

Maximum No

//Find the Maximum No between Three Nos' int i=10,o=20,k=30; if(i>o &&i>k) { cout<<"1st is g\n";...