Home Java Student Grade Calculation using Java

# Student Grade Calculation using Java

0
3,801

This tutorial will teach how to make a  Student Grade Calculation in Java. Input the studentname and avg marks to calcuate the grade

if the average is > 85 – A

if the average is > 75 – B

if the average is > 65 – C

if the average is > 55 – S

if the average is < 45 – F

## Paste the inside the Calc Button

```        double maths,science,engish,tot,avg;

maths = Integer.parseInt(txtMaths.getText());
science = Integer.parseInt(txtSci.getText());
engish = Integer.parseInt(txtEng.getText());

tot = maths + science + engish;

avg = tot/3;

if(avg >= 85)
{

}
else if(avg >= 75)
{

}
else if(avg >= 65)
{

}
else if(avg >= 45)
{

}
else
{
}

lbltot.setText(String.valueOf(tot));
lblAvg.setText(String.valueOf(avg));

```

• ### Electricity Bill Calculation using Java Application

This tutorils teach Electricity Bill Calculating based on the below conditions step by ste…
• ### Banking Loan Calculation Project using Java

This tutorials series we are going to talk about how to make a banking loan calculation pr…
• ### Banking Deposit Amount Calculation in Java

In this tutorials will teach Banking Deposit Amount Calculation in Java following these co…
• ### Library Management System using Spring Boot

This tutorils will teach about complete library management project.the purpose of this pro…
• ### Complete Spring Boot RESTful API CRUD Project Tutorial

Introduction to Spring Boot and RESTful APIs Spring Boot is a powerful framework for build…
• ### Student Management System using Spring Boot

This tutorils will teach about complete student management project.the purpose of this pro…
• ### Electricity Bill Calculation using Java Application

This tutorils teach Electricity Bill Calculating based on the below conditions step by ste…
• ### Banking Loan Calculation Project using Java

This tutorials series we are going to talk about how to make a banking loan calculation pr…
• ### Bakery Management System Project using Java

This tutorial will teach you how to make a Bakery Management System Project using Java in …