Advertisement

Odd Even Program In C++ | How To Find Is The Number Is Odd Or Even | C++ Tutorials For Beginners 13

Odd Even Program In C++ | How To Find Is The Number Is Odd Or Even | C++ Tutorials For Beginners 13 To find is the number is Odd or Even we use MOD operator in our if condition. The MOD operator will return the reminder after dividing the given number by it's divisor.

The logic is that if we divide any number with 2 than the reminder either be 1 or 0. And if we divide any even number by 2 the reminder will always be 0. And if we divide any odd number by 2 the reminder will be 1.

So using this logic will create our program to find weather the number is odd or even.

Watch the video and keep learn.

Link For MOD operator video:

Hope you learn a lot from this video.
Support Alfa Technology by linking , commenting and sharing this video. And also subscribe the channel for more videos.

C++ Programming is one of the great programming languages and also c++ is one of the fastest high level programming language.

C++ use compiler to execute the code that's why it generate very fast and efficient code which runs very quickly compare to other programming languages.

C++ Tutorials For Beginners Playlist:

History And Main Features Of C++:

How To Download Code Blocks And Hello World Program In C++:

Variables And Data Types In C++:

Float And Double Variables In C++:

Char Data Type In C++:

String Data Types In C++:

User Input In C++:

How To get full line input in string in C++:

If Else Statement in C++ :

Average And Percentage Program In C++:

Relational Operators in C++:

Logical operators in C++:

Odd Even Program In C++:

How To Make Calculator In C++:

Nested If Else Statement In C++:

Switch Statements in C++:

Loops In C++ For While And Do While Loop:

Increment And Decreament Operators In C++:

For Loop in C++:



This video is very helpful for beginners to make their conditional thinking better and learn that how the if , if else and if else-if conditions works in c++ programming.

Hope you learn a lot from this video.
Support Alfa Technology by linking , commenting and sharing this video. And also subscribe the channel for more videos.

C++ Programming is one of the great programming languages and also c++ is one of the fastest high level programming language.

C++ use compiler to execute the code that's why it generate very fast and efficient code which runs very quickly compare to other programming languages.

I've a full video on c++ history and its main feature so click on the lick to watch the video.

If you not already a Subscriber make sure to subscribe our channel and hit the bell icon so you don't miss any new video.

Subscription Link:


Playlist Link:

write a program in c to print whether the number is even or odd,even or odd or zero program in c,c++ odd even prgram,c plus plus tutorial for beginners,c plus plus programming,odd number in c programming,program for even and odd number in c++,find even or odd number in c,c++ even or odd number,even number program in c++,c++ tutorial from basic to advance,c++ programming tutorial,c++ tutorial for beginners in amharic,odd or even numbers,c++ programming,

Post a Comment

0 Comments