2. Take four numbers as keyboard input and determine which one is the largest and which
of is the smallest. [Even two numbers can be equal but not three]
Example:
I/P O/P
a = 10 a is largest and c is smallest
b = 0.2
c = -0.7
d=6
3. Write down a MATLAB program that will take a number (which happens to be a obtained
mark in any subject) as keyboard input and convert it to the grade and grade point as
UAP Standard.
Example:
Input Output
A = 70 Grade = A-
Grade point = 3.50
A = 83 Grade = A+
Grade point = 4.00
A = 43 Grade = D
Grade Point = 2.00
UAP Grading Policy