This is a program made by me.
In this program user enter a digit at run time and then this shows that the digit entered is Odd or Even.
#include < iostream>
using namespace std;
int main( )
{
int num;
cout << "Enter an integer"<<endl ;
cin >> num;
if ( num % 2 == 0)
cout << num << " is even.";
else
cout << num<< " is odd.";
return 0;
}
C++ is best Program
are you a programmer??
it's really happend
yes
i like to do programs but it's too complicated..
but i love this
It's easy. I have done these programs before
You got a 0.43% upvote from @upme requested by: @hairflare.
Send at least 1.5 SBD to @upme with a post link in the memo field to receive upvote next round.
To support our activity, please vote for my master @suggeelson, as a STEEM Witness
This post has received a 2.48 % upvote from @boomerang thanks to: @hairflare
@boomerang distributes 100% of the SBD and up to 80% of the Curation Rewards to STEEM POWER Delegators. If you want to bid for votes or want to delegate SP please read the @boomerang whitepaper.
This post has received gratitude of 0.59 % from @appreciator thanks to: @hairflare.