You are on page 1of 1

# include <iostream>

using namespace std;


int main ()
{
float mark;
cin >> mark;
if ( mark>=80)
cout << " A+";
else if ( mark >= 40)
cout << " Pass";
else ( mark < 40)
cout << " Fail";

You might also like