0

theres a..

theres a if(num == 5) why is the output have no 5?

28th Jun 2016, 11:50 PM
Andrew Annedrew Alcalde
Andrew Annedrew Alcalde - avatar
2 Answers
+ 1
what's data type "num" . ?
29th Jun 2016, 12:42 AM
Karlos Uriarte Castro
Karlos Uriarte Castro - avatar
0
ooh nevermind ,on the second thought the if condition is "the num is equal to 5" not "lesser than equal to 5"
29th Jun 2016, 12:45 AM
Andrew Annedrew Alcalde
Andrew Annedrew Alcalde - avatar