Our Recommendation for You Search your Query, You can find easily. for example search by book name or course name or any other which is related to your education

Followers

source code of c++ for check an even number




The source code of c++ checks for an even number)

//  checks for an even number
#include <iostream>
using namespace std;

int main(){
   int num;
   cout << "Give me any number: ";
   cin >> num;

   if (num % 2 == 0) {
       cout << "It's even!" << endl;
   }else{
       cout << "It's odd!" << endl;
   }

  system("pause");
}


OUR RECOMMENDATION FOR YOU