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