“Seek knowledge from the cradle to the grave”
#include<iostream.h> #include<stdio.h> #include<conio.h> int main()
{ int a; cout<<"Enter the Number : "; cin>>a; (a%2==0)?cout<<"Number is even":cout<<"Number is odd"; return 0; }
No comments:
Post a Comment