求教JAVA编程

来源:百度知道 编辑:UC知道 时间:2024/05/28 16:17:25
Within an HTML page, write a Javascript program that meets the following specifications ( function use is optional for all requirements ) :
1. Displays prompt windows for student name , student number and number grade.
2. Can handle any number of students, so a “stop code” will be needed. For your input data, feed in at least 20 students. You’ll have to make up the information.
3. Splits student name into late name and first name.
4. Assigns a letter grade to each number grade.
5. Feeds the number grades into an array. Sort the array. Calculate the mean grade.
6. Calculate the average. Show the corresponding letter grade.
7. Count the number of A’s and calculate the percentage. Do the same for F’s(<60), D’s,
D+’s, C’s, C+’s, B’s, B+’s, A’s, A+’s.
8. Prints the following report.

Professor’s Programming Class
# Last Name First Name Student# Number Grade Letter Grade
1 Nan Yu 1234567 85 B+
2
… … … … …

朋友,你写的东西应该还有一部分没有写出来吧,我看了下,前后应该还有,否则根本不知道这段文字究竟是针对什么的啊。

请说汉语.

今虽有幸得见此天书!
但天机不可泄...实难相告!