1)Login to UNIX with
SSH
2)Start xwin32
3)Start emacs
4)Open a new file called
parity.cpp
5)Write a program that
takes an integer as input and displays “even” if the
integer is even and “odd” otherwise
6)This program will
require two “if” statements, one for even and one for odd
7)x % 2 returns 0 if x
is even and 1 if x is odd.
8)Compile, debug, and
run your program.