Computer Science, asked by prem7759028772, 10 months ago

#include
int main()
{
int marks;
std::cin>>marks;
if(marks>90)
std::cout<<"You have got A1 grade.";
else
{
if(marks>80&&marks<90)
std::cout<<"You have got A2 grade.";
else
{
if(marks>70&&marks<80)
std::cout<<"You have got B1 grade.";
else
{
if(marks>60&&marks<70)
std::cout<<"You have got B2 grade.";
else
std::cout<<"Sorry, you have to re-appear for the test";
}
}
}
}

Answers

Answered by shiya2409
0

Answer:

thank for free point....

Similar questions