Skip to main content

Posts

Showing posts with the label Marks Calculation

Marks Calculation in Examination MATLAB Programming

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<=30 & m>=0 disp( 'Right Input' ) else disp( 'Wrong Input!!!' ) end ct1=input( 'Class Test 1 in 10% Marks=' ); if ct1<=10 & ct1>=0 disp( 'Right Input' ) else disp( 'Wrong Input!!!' ) end ct2=input( 'Class Test 2 in 10% Marks=' ); if ct2<=10 & 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<=5 & a1>=0 disp( 'Right Input' ) else disp( 'Wrong Input!!!' ) end DM=input( 'Attendance Before Mid[in 10 Days]=&