0

Why C++ does not include "then" in "if statement"?

13th Sep 2016, 4:27 PM
JQuery/CSS/d0|\/|=🔥🔥🌚
JQuery/CSS/d0|\/|=🔥🔥🌚 - avatar
5 Respostas
+ 2
cause you can easily write the next command after if () {} without then
13th Sep 2016, 5:21 PM
Mohamed Hamdy
Mohamed Hamdy - avatar
+ 1
Because there is no ambiguity when not using one?
13th Sep 2016, 4:41 PM
Zen
Zen - avatar
+ 1
Because it is improved version of C. There is no need of writing an extra word with "if".
13th Sep 2016, 6:18 PM
Simant |Kingpin|
Simant |Kingpin| - avatar
0
It is not necesserity.
13th Sep 2016, 8:34 PM
Костя Ващенко
Костя Ващенко - avatar
0
Then statements are implemented in {} automatically
27th Nov 2016, 7:47 PM
lolan adu
lolan adu - avatar