3. Conditions and loops
ستتم ترجمة هذا المقال تلقائيًا. يُعرض بالإنجليزية حاليًا.
if, else and switch make decisions. for and while repeat code. Braces group the lines that belong to a block.
عرض المثال
for (int i = 1; i <= 3; i++) {
printf("%d\n", i);
}