AIFA
C Editor
Coding Lab
C Home
Lesson
Courses
CHAPTER 11
C While Loop
Write C code and run it directly in the browser.
▶ Run Code
↻ Reset
Clear Output
C Source Code
#include <stdio.h> int main() { int i = 1; while (i <= 5) { printf("%d ", i); i++; } return 0; }
Ready
Program Output
Output will appear here...
AIFA C Compiler
← Previous
📖 Lesson
All Chapters
Next →