Write a c++ program to check the number is odd or even.
Share
Write a c++ program to check the number is odd or even.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
C++ Program to Check if a given Integer is Even or Odd
* C++ program to check if given integer is even or odd.
#include<iostream>
using namespace std;
{
int number, remainder;
cout << "Enter the number : ";
cin >> number;
remainder = number % 2;
SEE IS IT CORRECT OR NOT
pls mark me as brainliest