Pages • 1
Grades Calculation in MatlabGRADES=Aconversion=[0.3 0.3 0.4];grade=GRADES*conversionfor i=1:xif grade(i,:)=90fprintf(The result for student number %dTotal_Point=grade(i,:)fprintf(PASS and Grade is Aelseif grade(i,:)=80fprintf(The result for student number %dTotal_Point=grade(i,:)fprintf(PASS and Grade is Belseif grade(i,:)=70fprintf(The result for student number %dTotal_Point=grade(i,:)fprintf(PASS and Grade is Celseif grade(i,:)=60fprintf(The result for student number %dTotal_Point=grade(i,:)fprintf(PASS and Grade is Delseif grade(i,:)=0fprintf(The result for student number %dTotal_Point=grade(i,:)fprintf(FAİL and 0).
Related Essay Topics:
10Th Grade Business Management ClassesAge-GradesElseif GradeGrades Calculation