can anyone do this for me as im a beginner

Create a Class named GradeMethod, which consists of the following functions:

string Marks(int marks) to Input marks and return grade wrt marks according to the table below:
A--------------------- (87-100)
B+-------------------- (80-86)
B---------------------- (75-80)
C---------------------- (65-74)

public static string PercentageMarks(int marks) to returns percentage wrt marks

Use GradeMethod in the main function to display the grades and percentage of the marks calculated
@ahmed420

Yes, I could, but then, what would you have learned? And if you don't learn, you'll always stay a beginner.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <iostream>
#include <cctype>
#include <limits>

int main()
{
   std::cout << "Do you want someone to do all the work for you? ";
   char answer{};
   std::cin >> answer;

   std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');

   if (std::toupper(answer) == 'Y' ) { std::cout << "Post it in the Jobs section.\n"; }

   else { std::cout << "Show what you have coded so far.\n"; }

   std::cout << "Good luck.\n";
}
why is there no c+ and what does the moron who scores a 50 because he got someone online to do it for him get? This assignment seems incomplete?
Topic archived. No new replies allowed.