Professional Documents
Culture Documents
Function: Output
Function: Output
Function: Output
else
grades{i,2} ='F';
end % end of if
OUTPUT
A=
80 90 100
75 45 60
20 20 20
15 20 25
100 100 100
60 60 60
50 50 50
[ 90] 'A'
[ 60] 'B'
[ 20] 'F'
[ 20] 'F'
[100] 'A'
[ 60] 'B'
[ 50] 'C'
>>
Q7
end
% decrease the degree by one to compensate the last increment of N
% before coming out of the while loop.
N=N-1;
End
OUTPUT
2.718281826198493
N=
11
y=
0.367879439233606
N=
11
y=
20.085536922950844
N=
20
y=
0.049787076669269
N=
18