C++ number checker

Surname 1
Student’s Name
Professor’s Name
Course
Date
C++ Number Identifier
Order #
Write a C++ code that checks whether a given number is even or odd and displays the output.
Please upload screen shots of your results with 3 odd numbers and three even numbers.
C++ code
#include <iostream>
using namespace std;
int main()
{
int n;
cout << "WELCOME TO JENIPHER'S NUMBERS SOLUTION" << endl;
cout<< "Please enter an integer"<<endl;
cin>> n;
if (n%2==0)
{
cout<< "The number"<<n<<"is even"<<endl;
}
else
{
cout<< "The number"<<n<<"is odd"<<endl;
}
return 0;
}
Surname 2
Results for odd numbers
#45
#33
#7
Surname 3
Results for even numbers
#12
#1996
#44

Place new order. It's free, fast and safe

-+
550 words

Our customers say

Customer Avatar
Jeff Curtis
USA, Student

"I'm fully satisfied with the essay I've just received. When I read it, I felt like it was exactly what I wanted to say, but couldn’t find the necessary words. Thank you!"

Customer Avatar
Ian McGregor
UK, Student

"I don’t know what I would do without your assistance! With your help, I met my deadline just in time and the work was very professional. I will be back in several days with another assignment!"

Customer Avatar
Shannon Williams
Canada, Student

"It was the perfect experience! I enjoyed working with my writer, he delivered my work on time and followed all the guidelines about the referencing and contents."

  • 5-paragraph Essay
  • Admission Essay
  • Annotated Bibliography
  • Argumentative Essay
  • Article Review
  • Assignment
  • Biography
  • Book/Movie Review
  • Business Plan
  • Case Study
  • Cause and Effect Essay
  • Classification Essay
  • Comparison Essay
  • Coursework
  • Creative Writing
  • Critical Thinking/Review
  • Deductive Essay
  • Definition Essay
  • Essay (Any Type)
  • Exploratory Essay
  • Expository Essay
  • Informal Essay
  • Literature Essay
  • Multiple Choice Question
  • Narrative Essay
  • Personal Essay
  • Persuasive Essay
  • Powerpoint Presentation
  • Reflective Writing
  • Research Essay
  • Response Essay
  • Scholarship Essay
  • Term Paper
We use cookies to provide you with the best possible experience. By using this website you are accepting the use of cookies mentioned in our Privacy Policy.