70 752
Assignments Done
98,7%
Successfully Done
In March 2019

# Answer to Question #49787 in C# for Rudjame G Alvizo

Question #49787
Computing Grades using A+,A-,B+,B-,C+,C-,D,F and putting label from 100-0 by 12.5 its ratio per Letter Grade!
a simple program please put a copy of the the program that would run! Thank you and Godbless
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;

namespaceConsoleApplication1
{
{
public string G(double mark)
{
stringresult=" ";
if((mark >= 0) && (mark <= 12.5))
{
result ="F" ;
}
if((mark >12.5 ) && (mark <=25 ))
{
result ="D";
}
if((mark >25 ) && (mark <=37.5 ))
{
result ="C-";
}
if((mark >37.5 ) && (mark <=50 ))
{
result = "C+";
}
if((mark >50 ) && (mark <= 62.5))
{
result = "B-";
}
if((mark >62.5 ) && (mark <=75 ))
{
result = "B+";
}
if((mark >75 ) && (mark <=87.5 ))
{
result = "A-";
}
if((mark >87.5 ) && (mark <=100 ))
{
result = "A+";
}
returnresult ;
}
}
class Program
{
static void Main(string[]args)
{
doublemark;
Console.Write("Enter your mark: " );

}
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!