Question: Write a fragment of code to determine whether or not each grade is a passing grade (60 or above) in an integer array named testGrades.
Run Section Si Go To comment Breakpoints Run Run and Advance Run and Find v Indent v Advance Time s Student Documents S17 Section 1 Editor CAUsersstudentDocumentss17 Section 1VetterGrade me testGrades 1000bxt X letterGrade m* X 1 clc 2 clear 4 letterGrades 0; 5 passing 0; 7 in File open ('test Grades 1000.txt 'r'); 9 index 1. 11 while feof (inFile) str2num 14 Lend 1S 16 for end 18 19 edit letter Grade Error using edit line 66) rade .m' could be tound Neither letter Grade
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
