#include <stdio.h> int main(void) { -int i; -for(i=1;i<=100;i++) --printf("%d\\n",i); --printf("> Finished\\n"); -return 0; }
1. A program to find the sum of the first 10 numbers.
2. A program to calculate the factorial of a given number.
كيفية استخدام أمر for في برمجة الألعاب
Arduino