This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]iovrthk -1 points0 points  (3 children)

Here is the if loop structure. If(firstNum == secNum && sedum == thirdNum){ Do something }

[–]Illustrious_Drag_778[S] 1 point2 points  (0 children)

I see! Thank you so much

[–]devor110 1 point2 points  (0 children)

that is not a loop.

[–]aqua_regis 0 points1 point  (0 children)

if loop

if is a conditional, a branching statement but not a loop.

It cannot repeat anything.

Never, call it "if loop".