#include<iostream.h>
void main ()
{
int percentage;
cout<<"enter the percentage:";
cin>>percentage;
switch (percentage/10)
{
case 10: case 9:
cout<<"you have got grade A+"<<end;
break;
case 8:
cout<<"you have got grade A"<<end;
break;
case 7:
cout<<"you have got grade B+"<<end;
break;
case 6:
cout<<"you have got B"<<end;
break;
case 5:
cout<<"you have got C"<<end;
break;
default:
cout<<"you have got grade D"<<end;
break;
}
}
output of this code
Answers
Answered by
0
Answer:
A+B+C+D. abcd ab+ cd=ac+cd
Similar questions
English,
3 months ago
Math,
3 months ago
Social Sciences,
3 months ago
Computer Science,
7 months ago
Science,
7 months ago
Computer Science,
11 months ago