看板 FJU-Stat97A 關於我們 聯絡資訊
#include <stdio.h> #include <stdlib.h> int main(void) { int i; for (i=1;i<=100;i=i+1) //for(迴圈駐標初始值;迴圈執行的條件;駐標改變量) { printf("%d\n",i); // { .............. } // } system("pause"); return(0); } -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.136.162.123