看板 SCU-BM-88C 關於我們 聯絡資訊
#include<stdio.h> #include<conio.h> #include<stdlib.h> Void main(void) { int A,B,C,D,R; clrscr(); randomize(); A=1; B=1; D=3; R=random(數字)+1; if(R==1) { printf("%i",A); } else { if(R==2) { printf("%i,%i",A,B); } else { printf("%i,%i",A,B); while(D<=R) { C=A+B; A=B; B=C; D=D+1; printf(",%i",C); } } } } 以上如有問題, 請洽4G美宣部reallyice, 或4G活動部stt。 -- █ ◢███◣ █ █ ╭──╮ ─┬─ █ █ █ ▄▄ 美宣部 │ │ │ ◥▆█▆▊█ █ ├─┬╯ │ ╭════╮ █ ◥███◤黨 │ │EALLY─┴─CE ║正式公告║ ╰════╯