• 685閱讀
  • 4回復

請大家幫忙寫個pascal program(急用) [復制鏈接]

上一主題 下一主題
離線manyuk90418
 
發帖
655
好友元
3655
閱讀權限
655
貢獻值
0
只看樓主 倒序閱讀 使用道具 樓主   發表于: 2006-04-20
個program要根據下面3個sample output 做
Sample Output 1.
Begin assessment of class work:
How many tests have you taken?
1
See the teacher

Sample Output 2.
Begin assessment of class work:
How many tests have you taken?
2
Enter your two test scores:
57 90
The scores are 57 90
Are these correct?(y/n)
n
OK. Try again. Two Scores:
75 90
Your average is 82.50
To pass, you need at least 70
You are passing so far

Sample Output 3.
Begin assessment of class work:
How many tests have you taken?
2
Enter your two test scores:
51 65
The scores are 51 65
Are these correct?(y/n)
y
Your average is 58.00
To pass, you need at least 70
Warning: you are failing!



plz help me,thz
離線lion05hk
發帖
46
好友元
14040
閱讀權限
46
貢獻值
0
只看該作者 1  發表于: 2006-05-07
Is it the CIT project?
離線垃圾桶
發帖
18232
好友元
71042
閱讀權限
80931
貢獻值
3
只看該作者 2  發表于: 2006-05-07
if...then....else

println statement
方便大家Save & Print

fb: peterkl
垃圾桶四Be
Be Courteous, Be Kind, Behave, Be Patient
要為自己加油,彼得加油!!
惜日的光輝只停留在惜日;今日的光輝只停留在今日;明日的光輝只靠自己努力;彼得我一定可以再做奇蹟!!
離線wil
發帖
1777
好友元
19419
閱讀權限
1777
貢獻值
1
只看該作者 3  發表于: 2006-05-12
下面是引用垃圾桶於2006-05-07 17:09發表的:
比個framework你啦
無理由照抄的
[code]
.......



講得岩.... 其實比D pseudo-code 你, 就應該好容以寫架啦...

可惜我唔識pascal, 唔係一定幫你....
離線垃圾桶
發帖
18232
好友元
71042
閱讀權限
80931
貢獻值
3
只看該作者 4  發表于: 2006-05-12
下面是引用wil於2006-05-12 01:39發表的:
講得岩.... 其實比D pseudo-code 你, 就應該好容以寫架啦...
.......

同C/C++/Java差唔多

PS(真係可以同人補習,補Pascal過CIT XDDDDDDD)
方便大家Save & Print

fb: peterkl
垃圾桶四Be
Be Courteous, Be Kind, Behave, Be Patient
要為自己加油,彼得加油!!
惜日的光輝只停留在惜日;今日的光輝只停留在今日;明日的光輝只靠自己努力;彼得我一定可以再做奇蹟!!