0 喜歡 0 不喜歡
3.5k 瀏覽

The ten students’ grades on three exams are stored in a file named “grade.txt”.

Student 1   87   96   70
Student 2   68   87   90
Student 3   94  100   90
Student 4   100  81   82
Student 5   83   65   85
Student 6   78   87   65
Student 7   85   75   83
Student 8   91   94  100
Student 9   76   72   84
Student 10  87   93   73

Write a program that can read data from “grade.txt”, then calculate a particular student’s semester average, and output the overall grade distribution for a whole semester. Besides, all output data must be stored into “grade_output.txt”.

Pack your files all together in a single zip file and upload to your answer. For example, the student with student ID 410000000 needs to compress those files: 410000000.cpp; grade.txtgrade_output.txt to 410000000.zip and upload only this 410000000.zip to the answer.

[練習] 開放式問答 - 最新提問 分類:C |
ID: 24219 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 3.5k 瀏覽
0 0
Called for Help
0 0
Called for Help
0 0
Called for Help
0 0
Called for Help

18 個回答

0 喜歡 0 不喜歡
內容已隱藏
* ** *** ***** * ** **** * ** * **
最新回答 用戶: (126 分)
0 喜歡 0 不喜歡
內容已隱藏
* * * * * ** * *** *** ** **** ** * ***
最新回答 用戶: (237 分)
0 喜歡 0 不喜歡
內容已隱藏
* ** ** * *** * * ** * **** ** * * * ** * *
最新回答 用戶: (-298 分)
0 喜歡 0 不喜歡
內容已隱藏
* * ** ** ** ** * *** ** *** ****
最新回答 用戶: (-368 分)
0 喜歡 0 不喜歡
內容已隱藏
***** ** *** * * ***** ***** ** * * ***** * *
最新回答 用戶: (-367 分)
0 喜歡 0 不喜歡
內容已隱藏
***** ** ***** ** ***** *** * * * * * * *
最新回答 用戶: (-367 分)
0 喜歡 0 不喜歡
內容已隱藏
** ** ***** * * ****** ** **** * * ** *** ** **
最新回答 用戶: (-581 分)
0 喜歡 0 不喜歡
內容已隱藏
* * * * ** ** *** ****** ** * ** **
最新回答 用戶: (-324 分)
0 喜歡 0 不喜歡
內容已隱藏
******** * * ** ** *** ** * * * * ** ** * *
最新回答 用戶: (-249 分)
0 喜歡 0 不喜歡
內容已隱藏
*** **** * * *** * **** *** * *********
最新回答 用戶: (-134 分)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:108.162.241.33
©2016-2025

相關問題

1 喜歡 0 不喜歡
58 回答
[練習] Coding (C) - 最新提問 3月 23, 2017 分類:C |
ID: 23261 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 7k 瀏覽
12,783 問題
183,442 回答
172,219 留言
4,824 用戶