Question :
[Refer to the attachment]
Note : It's Visual Basic Programme
Please don't spam!!
Attachments:

Answers
Answered by
3
Answer:
Sum/3 and after that use if else statement.
Explanation:
Attachments:
Answered by
15
Program: {JAVA}
import java.util.*;
class Brainly
{
static void main()
{
int m;
Scanner sc=new Scanner(System.in);
System.out.println(“Enter the marks:”);
m=sc.nextInt();
if (m<40)
System.out.println(“Grade=D”);
else if (m>=40&&<60)
System.out.println(“Grade=C”);
else if (m>=60&&<75)
System.out.println(“Grade=B”);
else if (m>=75)
System.out.println(“Grade=A”);
else
System.out.printlln(''Invalid'')
}
}
Similar questions