C++ Program to Check if a number is Even or Odd

Don't have a laptop to start learning C++ Computer programming language ? Do not worry yourself about that because you can actually start learning C++ Computer programming language with your android phone. The code below is useful for checking if a number is Even or Odd. And I wrote and ran it with my android phone. #include<iostream> using namespace std; int main (){ int a; cout << " Enter your number " << endl; cin >> a; int b = a%2; if ( b==0){ cout<< "You've entered an even number "<< endl; } else { cout<< " You've entered an odd number " << endl; } } Are you ready to start learning C++ Computer programming language with your android phone ? If your answer is yes, then, go to Play Store now and download the Cxxdroid app to start writing C++ codes with your android ph...