C Programming Tutorial # 10 - if-else statement [HD]

preview_player
Показать описание

This tutorial extends the if statement to if-else statement. This tutorial is part of a collection of tutorials contained in the following playlist:

Please SUBSCRIBE so that you can get notified of the new videos. Also don't forget to RATE 5 STARS if you like the tutorial.
Рекомендации по теме
Комментарии
Автор

@genialvital You are welcome. Check out my new site CPlusPlusTutor . com for all the tutorials.

Learnorama
Автор

Thanks for these tutorials; I'm as new to C programming as one can get. :)

I'd like to point out for the benefit of others that the "if (number < 0)" condition can be deleted completely and braces won't be needed. Just use the else argument, since by the time the program has checked for positive or zero the only logical possibility is that the number is negative and you'll get the same result. If to else to if to else.

argumzio
join shbcf.ru