Computer Science, asked by sakshisakhare42, 4 months ago

#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 yaadgill670980
0

Answer:

A+B+C+D. abcd ab+ cd=ac+cd

Similar questions