Using the knowledge in computational language in C++ it is possible to write a code that organizes a student's grades in some subjects
<h3>Writing the program in C++</h3>
<em>#include<iostream.h></em>
<em>#include<conio.h></em>
<em>void main()</em>
<em>{</em>
<em>int i,n,sub1,sub2,sub3,sub4,totaltestscore; </em>
<em>cout<<"Enter the number of students : ";</em>
<em>cin>>n; </em>
<em>for(i=1;i<=n;i++) </em>
<em>{</em>
<em>cout<<" Enter the test score of subject 1 out of 100: ";</em>
<em>cin>>sub1; </em>
<em>cout<<" Enter the test score of subject 2 out of 100: ";</em>
<em>cin>>sub2; </em>
<em>cout<<" Enter the test score of subject 3 out of 100: ";</em>
<em>cin>>sub3; </em>
<em>cout<<" Enter the test score of subject 4 out of 100: ";</em>
<em>cin>>sub4; </em>
<em>totaltestscore=sub1+sub2+sub3+sub4;</em>
<em>if(totaltestscore>=372&&totaltestscore<=400) </em>
<em>cout<<" The grade of the student is : A "; </em>
<em>else</em>
<em>if(totaltestscore>=340&&totaltestscore<=371) </em>
<em>cout<<" The grade of the student is : B "; </em>
<em>else</em>
<em>if(totaltestscore>=280&&totaltestscore<=339) </em>
<em>cout<<" The grade of the student is : C "; </em>
<em>else</em>
<em>cout<<" The student fail "; </em>
<em>}</em>
<em>}</em>
See more about C++ at brainly.com/question/19705654
#SPJ1