60 690
Assignments Done
97,9%
Successfully Done
In April 2018

# Answer to Question #4464 in C# for diya

Question #4464
write a program to calculate grade of given course

85-100 A
78-84 B+
72-78 B
66-71 C+
60-65 C
BELOW 60 FAIL
#include &lt;iostream&gt;

using namespace std;

void
main(void){
int points = 0;
cout &lt;&lt; &quot;Please, enter count of
points: &quot;;
cin &gt;&gt; points;
if
(points &gt;= 85)
& cout &lt;&lt; &quot;A&quot;;
else if (points &gt;= 78
&& points &lt;= 84)
& cout &lt;&lt; &quot;B+&quot;;
else if
(points &gt;= 72 && points &lt;= 77)
& cout &lt;&lt;
&quot;B&quot;;
else if (points &gt;= 66 && points &lt;= 71)
& cout
&lt;&lt; &quot;C+&quot;;
else if (points &gt;= 60 && points &lt;=
65)
& cout &lt;&lt; &quot;C&quot;;
else if (points &lt; 60)
&
cout &lt;&lt; &quot;FAIL&quot;;

cout &lt;&lt; &quot;\nInput 0 and press Enter
exit...&quot;;
cin &gt;&gt; points;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!