If, elseif and else statement in C++ working same way as PHP, Python or Javascript, its very easy to understand and i will show you how its working in this video.