Write a c++ program to check the number is odd or even.
Answers
Answered by
1
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
Answered by
2
pls mark me as brainliest
Attachments:
Similar questions