Matlab Program to print division

Write a Matlab program to Print the division corresponding to the percentage marks enters by a student.

Marks>=60 then Ist Division

60>Marks>=45 then IInd Division

45>Marks>=35 then IIIrd Division

Marks<35 then Fail

soln.

1) Through if else if 


2) Through Nested if-else 







No comments:

Powered by Blogger.