線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:967
推到 Plurk!
推到 Facebook!

how to generate this sequence?

尚未結案
askMrJava
一般會員


發表:2
回覆:1
積分:0
註冊:2004-08-29

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-08-29 22:01:19 IP:210.6.xxx.xxx 未訂閱
1. how to generate this (using for loop): 11 5 2 1 0    2. how to use 'switch-case' to determine the grade: if 90
askMrJava
一般會員


發表:2
回覆:1
積分:0
註冊:2004-08-29

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-08-29 22:08:51 IP:210.6.xxx.xxx 未訂閱
2. how to use 'switch-case' to determine the grade: if x smaller than 100 and greater than 90, grade = 'A', if x smaller than 89 and greater than 70, grade = 'B', if x smaller than 69 and greater than 50, grade = 'C', if x smaller than 50, grade = 'F'.
neoart
版主


發表:22
回覆:582
積分:425
註冊:2003-05-09

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-08-30 09:24:50 IP:61.64.xxx.xxx 未訂閱
First OF All, 1.Please don't ask 2 or more questions in one thread,Each thread is only allow to discuss one question 2.they seems are your home works,why don't you discuss with your team mate? Don't post your home work so directy(without any try and test),you may post your questions in some code fragments,at leat let us know you'd tried it.
系統時間:2024-04-27 18:34:22
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!