Use this file! Score.txt   =================================…

Written by Anonymous on July 21, 2026 in Uncategorized with no comments.

Questions

Use this file! Scоre.txt   ============================================================================= Creаte а prоgrаm that will Read Scоre.txt (25 rows × 5 columns, no header line) If a cell has a value less than 0, substitute it with 0. If a cell has a value larger than 100, substitute it with 100. Display the cell locations that were out of range. (Such as "Row 1 Col 2 Cell has less than zero value." or "Row 1 Col 2 Cell has value larger than 100.") Display how many cells were less than 0 and how many were larger than 100. txt is actually 5 exam scores for each of 25 students (valid scores are 0 to 100). Create Score2.txt. Score2.txt should have 6 columns. The first 5 columns should be the modified Score.txt (no more out-of-range values) and the 6th column should be the average of that row (row sum divided by 5). Display how many students passed, where passing is an average of 70 or higher.   Suggested Demo Shot.          

Comments are closed.