Coding with C Plus Plus

Thursday, 19 March 2015

"if-else" example

In this blog,I will show you the simple concept of "if-else".

Source code

khgamujtaba,C++

Output

khgamujtaba,C++

So the simple concept of "if-else" statement is that if a condition is true,the program statement will be executed and if a condition is false,then the alternative program statement will be executed

No comments:

Post a Comment