#Include #Include Void Main (Int A Cout A If (A%2 0) Cout "EVEN" Else Cout "ODD" Getch )

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

#include<iostream.h> #include<conio.

h> void main() { int a; cout<<"Enter a no \n"; cin>>a; if (a%2==0) cout<<"EVEN"; else cout<<"ODD"; getch(); }

You might also like