You need to Register First!

Before you Log-in...

If else condition Evern or Odd HON
You need to Register First!

Before you Log-in...

If else condition Evern or Odd HON
Would you like to react to this message? Create an account in a few clicks or log in to continue.


 
HomeHome  PortalPortal  GalleryGallery  SearchSearch  Latest imagesLatest images  RegisterRegister  Log inLog in  
Sample design and thinking of Something new Graphical design.... To all member's of this website please Fill up the form of your Personal Information for Special Reference of our Forum thank you!
For non-member just post your comment in the chatbox. Thanks for Visiting our site.
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» AutoCAD-tutorial-01
If else condition Evern or Odd Icon_minitimeThu Dec 13, 2018 3:49 pm by Kuteshikimi

» Definition-of-Computer-Graphics
If else condition Evern or Odd Icon_minitimeThu Dec 13, 2018 3:47 pm by Kuteshikimi

» Explore-the-Graphical-User-Interface
If else condition Evern or Odd Icon_minitimeThu Dec 13, 2018 3:44 pm by Kuteshikimi

» A-BRIEF-HISTORY-OF-COMPUTER-GRAPHICS
If else condition Evern or Odd Icon_minitimeThu Dec 13, 2018 3:42 pm by Kuteshikimi

» Lesson 7- Network Design Models
If else condition Evern or Odd Icon_minitimeSun Nov 25, 2018 2:29 am by Kuteshikimi

» Lesson 6-Internet and Networking Devices
If else condition Evern or Odd Icon_minitimeSun Nov 25, 2018 2:27 am by Kuteshikimi

» Lesson 5-Introduction to Data Communications
If else condition Evern or Odd Icon_minitimeSun Nov 25, 2018 2:26 am by Kuteshikimi

» Lesson 4-Network Cabling
If else condition Evern or Odd Icon_minitimeSun Nov 25, 2018 2:19 am by Kuteshikimi

» Lesson 3-Types of Internet Connection
If else condition Evern or Odd Icon_minitimeSun Nov 25, 2018 2:19 am by Kuteshikimi

ENGINEERING.COM GAMES
Top 100 Games
Game Site Top 100


Most active topic starters
Kuteshikimi
If else condition Evern or Odd Vote_lcapIf else condition Evern or Odd Voting_barIf else condition Evern or Odd Vote_rcap 
imbaBOY
If else condition Evern or Odd Vote_lcapIf else condition Evern or Odd Voting_barIf else condition Evern or Odd Vote_rcap 
Top posters
Kuteshikimi
If else condition Evern or Odd Vote_lcapIf else condition Evern or Odd Voting_barIf else condition Evern or Odd Vote_rcap 
imbaBOY
If else condition Evern or Odd Vote_lcapIf else condition Evern or Odd Voting_barIf else condition Evern or Odd Vote_rcap 
markeeh17
If else condition Evern or Odd Vote_lcapIf else condition Evern or Odd Voting_barIf else condition Evern or Odd Vote_rcap 
Top posting users this month
No user
Top posting users this week
No user
Visitor’s Unique Page-View
Visitor Counter
Visitor Counter
Visitor’s
free counters
Globe
Similar topics

 

 If else condition Evern or Odd

Go down 
AuthorMessage
Kuteshikimi
Admin
Admin
Kuteshikimi


Posts : 52
Join date : 2011-09-01
Age : 33
Location : Cavite City, Philippines

If else condition Evern or Odd Empty
PostSubject: If else condition Evern or Odd   If else condition Evern or Odd Icon_minitimeThu Sep 15, 2011 6:04 pm

http://if_else.cpp

Code:

#include<iostream.h>
#include<conio.h>

main()
{
int x,y;
clrscr();

cout<<"enter an integer:";
cin >>x;

y = x % 2;

if (y==0)
{
cout <<"is an even number:"<<x;
}
else
{
cout <<"is an odd number:"<<x;
}

getch();
return 0;
}
Back to top Go down
https://kuteshikimi.board-directory.net
 
If else condition Evern or Odd
Back to top 
Page 1 of 1
 Similar topics
-
» do while Condition
» While Loop Condition

Permissions in this forum:You cannot reply to topics in this forum
 :: FORUM :: Application Program :: C++-
Jump to: