This is C++ AND i need it ASAP please 1: You will be given two positive integers, a and b (a 9 and it is an even number then print “even”. • Else if n>9 and it is an odd number, then print “odd”. •...


This is C++ AND i need it ASAP please


1: You will be given two positive integers, a and b (a <=>



• If 1<><=9, the="" print="" the="" english="" representation="" of="" it="" in="">

That is, “one” for 1,” two” for 2 and so on.

• Else if n>9 and it is an even number then print “even”.

• Else if n>9 and it is an odd number, then print “odd”.

• Check that a>=b and a,b>0(Positive). Write cerr and return a non-
zero value if this condition does not hold.





Example: 8 11

Output : eight nine even odd









#include

using namespace std;

int main()

{

int a,b;

cout < "enter="" the="" first="">

cin >> a;

cout < "enter="" the="" second="">

cin >> b;



//you code here

}



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here