If-else syntax

if-else codition:



Syntax:

if (condition)
{

}
else
{

}

if-else-if codition:



if (condition)
{

}
else if (condition)
{

}
else
{

}

Comments

Popular posts from this blog

How to display the output in C++