Go to w3c.91xjr.com
Reset Score
Close This Menu
C Syntax
Exercise 1
Go to C Syntax Tutorial
C Comments
Exercise 1
Go to C Comments Tutorial
C Variables
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to C Variables Tutorial
C Data Types
Exercise 1
Exercise 2
Go to C Data Types Tutorial
C Operators
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to C Operators Tutorial
C If...Else
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to C If...Else Tutorial
C Switch
Exercise 1
Exercise 2
Go to C Switch Tutorial
C Loops
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Exercise 5
Go to C Loops Tutorial
C Arrays
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to C Arrays Tutorial
C Strings
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to C Strings Tutorial
C Pointers
Exercise 1
Go to C Pointers Tutorial
C Functions
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Go to C Functions Tutorial
C Structures
Exercise 1
Exercise 2
Exercise 3
Go to C Structures Tutorial
Menu
×
×
Correct!
Exercise:
Print
i
as long as
i
is less than 6.
int i = 1; @(5) (i < 6) { printf("%d\n", i); @(3); }
int i = 1; while (i < 6) { printf("%d\n", i); i++; }
Not Correct
Click
here
to try again.
Correct!
Next ❯
Show Answer
Hide Answer
Submit Answer ❯
Show Answer
Hide Answer
×
Reset the Score?
Reset?
Cancel?