manyuk2002 發表於 2006-4-20 20:25:25

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

個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
頁: [1]
查看完整版本: 請大家幫忙寫個pascal program(急用)