Checking Even or Odd Numbers
Q.Write a C++ program to accept a number. Using conditional operator print whether the number is even or odd.
#include <iostream>
using namespace std;
int main()
{
int number;
cout<<" Enter a number : ";
cin>>number;
string result...
shahalpp.hashnode.dev1 min read