This project is a basic SpringBoot Application that displays Grade of the student on taking Physics, Chemistry and Maths marks as the input. It is coded in Java and HTML and is build using Maven.
Make sure to save the file pom.xml in order to download Maven Dependencies. You can read more about Maven and pom.
- It takes input of marks of three subjects- Physics, Chemistry and Maths. (Yes it can accept decimal inputs too in the intervals of 0.25)
- Calculates the total of those three inputs and then calculates the average of the three marks from the total.
- Using Conditional Statements, it grades the student based on the average calulated.
- Finally it displays the individual subject marks, total marks and grade obtained in a tabular format.
- You'll have to run the StudentMarksApplication.java which will activate a localhost server and will give a 4 digit number 80xx in the console.
- For viewing the HTML,
- Go to your browser and type
localhost:80xx/student-marks-card-html
in the address bar. This should open the first page of the app where you'll have to give the input. - Once you press submit, you'll be shown the marks and grade in tabular format.
- Go to your browser and type
- For viewing the JSON,
- Make sure you have the JSON Viewer extension added to your browser.
- After that, type
localhost:80xx/student-marks-card-json
in the address bar. - You'll be able to see the program in JSON Format.
This project was done by the three of us- @Atharva Utekar, @Anant Shukla and myself @Tejas Tawde
THANKS! HAVE A GREAT TIME!