Categories: Uncategorized

Program to find even and odd number Using C++

       

Result :

Program to find even and odd number
//Program to find even and odd number



#include<iostream>



using namespace std;



main()

{

 

 int number;

 

 cout << "Enter a Number to Check that Is Number is ODD or EVEN" << endl;

 

 cin >> number;

 

 if(number%2==0)

 {

  cout << number << " : is EVEN Number" << endl;

 }

 else

 {

  cout << number << " is ODD number" << endl;

 }

 

 

 return 0;

}
reecry

Recent Posts

Insta360 – Videos keep exporting backwards | Wrong side render in insta360

https://youtu.be/0RRUOIvmuWA I realized that I had my camera set up incorrectly, so when I upload…

7 months ago

Make Animated progress step bar using Figma

https://youtu.be/C3oFfV20K_c Make Animated progress step bar using Figma

9 months ago

How to Hide All Grids in Figma

https://youtu.be/o3pSH_oRzko How to Hide All Grids in Figma

9 months ago

How to Create Responsive Tool tip in figma

https://youtu.be/hdSUylKSsho How to Create Responsive Tool tip in Figma

9 months ago

Pixel Grid not visible in figma | How to Turn on figma Pixel Grid

https://youtu.be/AEiH7dSDhKo Having issue in figma pixel grid? learn how to show/ hide figma pixel grid…

9 months ago

Fix External Monitor Lag on Mac OS Ventura

https://youtu.be/iilYzHg9LwQ There are some issues going on in ventura OS its still in development phase…

1 year ago