clc clear disp( 'Marks Calculation in Examination' ) disp( '********************************' ) disp( '50% Marks Before Mid Term Examination' ) disp( '-----------------------------------' ) m=input( 'Mid Term in 30% Marks=' ); if m =0 disp( 'Right Input' ) else disp( 'Wrong Input!!!' ) end ct1=input( 'Class Test 1 in 10% Marks=' ); if ct1 =0 disp( 'Right Input' ) else disp( 'Wrong Input!!!' ) end ct2=input( 'Class Test 2 in 10% Marks=' ); if ct2 =0 disp( 'Right Input' ) else disp( 'Wrong Input!!!' ) end if ct1>ct2 ctm=ct1 else ctm=ct2 end a1=input( 'Assignment 1 in 5% Marks=' ); if a1 =0 disp( 'Right Input' ) else disp( 'Wrong Input!!!' ) end DM=input( 'Attendance Before Mid[in 10 Days]=' ); if DM =0 disp( 'Right Input' ) else disp( 'W...
Electrical MATLAB Programming