How many statements are in this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How many statements are in this code?

if (Abigail > Bob) { Bob++; printf (“Bob will catch you!”); }

9th Apr 2019, 8:00 PM
Caveman
Caveman - avatar
6 Answers
+ 3
just one, which is the if
9th Apr 2019, 8:14 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 2
Bună seară, operatorul este o comandă către computer. întreaga structură if este considerată un operator.
17th Apr 2019, 7:26 PM
Caveman
Caveman - avatar
0
2 statements!
16th Apr 2019, 6:42 PM
Emmanuel Agbanagba
Emmanuel Agbanagba - avatar
0
"The entire if structure counts as a single statement, even when it uses a compound statement.” C Primer Plus by Stephen Prata
16th Apr 2019, 9:28 PM
Caveman
Caveman - avatar
0
1
17th Apr 2019, 4:38 AM
Subrata Mishra
Subrata Mishra - avatar
0
Крч там 3 команды если поймёшь по русски
17th Apr 2019, 6:19 PM
.-__JeK__-.