C Programming Tutorial - 5 - If, Else If, Else Statements
Top Comments
All Comments (212)
-
So when you enter 50, you end up with jailbait. Great and simple tutorial, props for that, but the program itself could do better.
-
it keepS saying my else statement is wrong
-
Guys if you don't know what khan academy is, check it out, it is awesome! it teaches you practically everything, sadly no C, so ya you SHOULD work with em, ty for the awesome
-
@Hoihoijooah yes exactly :)
-
@bondservant4Him thank you for your help, so it's just making computer's job easier. ^_^
-
@Hoihoijooah yes, if will work also, but else if means that if the original if statement is true then dont check else if statment. If He used 2 if statments compiler will check both statments so multiple blocks of code may be executed, hard to explain let me know if you need more help
-
I didn't understand why he wrote else if instead of just if? Wouldn't only if work too?
-
I love this guy...anyone can learn this stuff with a teacher who explains it properly like him...BIG THANKS
-
@ElementGriefing else if* hehe :)
LOL Easy cougar HAHAHA.... speaks good english, makes C programming Extremely EASy to understand and HAS a GOOD SENSE OF HUMOR!!
darklorddragonslaye1 6 months ago 23
Great tutorial, as always. You should look into working with Khan Academy. These videos would be a great addition to that library.
CrittyWitty 5 months ago 18