It takes the student's name, surname and id from the user. Grades are given randomly to students whose information is entered. And the average is calculated and the prize he wins is determined.
- Java Development Kit (OpenJDK) >= 18.0.1.1
- All OSes: click here for installation instructions
- Clone this repo.
- Make a build directory in the top level directory:
mkdir out
- Copy sources files into output directory:
cp src/*.java out
- Go to output directory and compile:
cd out
- Compile:
javac *.java && jar cfe App.jar Main *.class
- Run it:
java -jar App.jar
.