cin >>
(yes, there are better solutions, but that is a simple way). The integers could be 2 variables, so let's say 'X' and 'Y'. Then just do something like if (x % (modulo)) {cout << "Even."} else {cout << "Odd".}
............................................________ ....................................,.-‘”...................``~., .............................,.-”...................................“-., .........................,/...............................................”:, .....................,?......................................................\, .................../...........................................................,} ................./......................................................,:`^`..} .............../...................................................,:”........./ ..............?.....__.........................................:`.........../ ............./__.(.....“~-,_..............................,:`........../ .........../(_....”~,_........“~,_....................,:`........_/ ..........{.._$;_......”=,_.......“-,_.......,.-~-,},.~”;/....} ...........((.....*~_.......”=-._......“;,,./`..../”............../ ...,,,___.\`~,......“~.,....................`.....}............../ ............(....`=-,,.......`........................(......;_,,-” ............/.`~,......`-...............................\....../\ .............\`~.*-,.....................................|,./.....\,__ ,,_..........}.>-._\...................................|..............`=~-, .....`=~-,_\_......`\,.................................\ ...................`=~-,,.\,...............................\ ................................`:,,...........................`\..............__ .....................................`=-,...................,%`>--==`` ........................................_\..........._,-%.......`\ ...................................,<`.._|_,-&``................`\ |
(condition) ? (result if true) : (result if false)
cout << "something" << "something";