This tutorial will teach you Student Marks Calculation Project Java in IntelliJ IDEA.This example help will you to study Java Gui application development step by step.
Design View
Paste the Following Code inside the Cal Button Event
int m1,m2,m3,tot; double avg; m1 = Integer.parseInt(txtMarks1.getText()); m2 = Integer.parseInt(txtMarks2.getText()); m3 = Integer.parseInt(txtMarks3.getText()); tot = m1 + m2 + m3; txtTotal.setText(String.valueOf(tot)); avg = tot/3; txtAvg.setText(String.valueOf(avg)); if(avg > 50) { txtGrade.setText("Pass"); } else { txtGrade.setText("Fail"); } }
Laravel cache clear , you can use the Artisan command-line tool that comes with Laravel.…
Vue.js is a powerful JavaScript framework for creating dynamic user interfaces, while Laravel is a…
In Java, a void function (or method) does not return any value. However, you can use the return statement…
Is Java Hard to Learn is it True? Java is one of the most popular…
Generating Random Numbers with Weights in Java Random number generation with weighted probabilities is a…
Introduction to JSP AJAX CRUD Applications Building web applications has become more dynamic with the…