討論串[心得] 程設
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
#include<stdio.h>. #include<stdlib.h>. int main(void). { char score; // 宣告score為字元. printf("請輸入你的成績:>");. scanf("%c",&score); //字元的輸入輸出函式都是%c. switch(
(還有255個字)
內容預覽:
#include<stdio.h>. #include<stdlib.h>. int main(void). { int score;. printf("請輸入你的成績:>");. scanf("%d",&score);. switch(score). //switch語言後面都要+break,否則
(還有189個字)
首頁
上一頁
1
下一頁
尾頁