找回密碼
 會員申請
搜索
熱搜: 活動 交友 discuz
查看: 2022|回復: 0

請大家幫忙寫個pascal program(急用)

[複製鏈接]
發表於 2006-4-20 20:25:25 | 顯示全部樓層 |閱讀模式
個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
您需要登錄後才可以回帖 登錄 | 會員申請

本版積分規則

Archiver|手機版|小黑屋|HKCM

GMT+8, 2026-8-12 23:41 , Processed in 0.028917 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回復 返回頂部 返回列表