Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #107.55K
~81.0K People Reached
Favorite Forums
Favorite Tags
java x 1

1 Posted Topic

Member Avatar for shantuli

Calculate a grade of student Total marks=100 Mark=int(Input("enter obtained marks")) TM=int(Input("enter the total marks")) assert marks>=0 & marks<=TM Perc=(marks/TM)*100 If perc>=90: Print(A) Elif perc>=81: Print(A2) Elif perc>=71: Print(B1) Elif perc>=61: Print(B2) Elif perc>=51: Print(C1) Elif perc>=41: Print(C2) Elif perc>=33: Print(D) Else: Print(fail) OUTPUT ENTER OBTAINED MARKS 78 B1

Member Avatar for zunam
-5
81K

The End.