輸出1-100之間的奇數

#include<stdio.h> //輸出1-100之間的奇數 int main(){ int i = 1; while (i <= 100){ if (i % 2 == 1){ printf("%d ", i); } i++; } system("pause"); return 0; }
相關文章
相關標籤/搜索