MilaDimitrovaa

Starter

Oct 17th, 2021
811
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.company;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class Starter {
  6.  
  7.     public static void main(String[] args) {
  8.  
  9.  
  10.     Scanner scan = new Scanner(System.in);
  11.     float mathScore;
  12.     float physicsScore;
  13.     float programmingScore;
  14.  
  15.  
  16.  
  17.     Students s1 = new Students("Ivelina","Krusteva", 18121);
  18.     s1.setGrades();
  19.     s1.studentInfo();
  20.  
  21.     Students s2 = new Students("Milen","Terziev", 18514);
  22.     s2.setGrades();
  23.     s2.studentInfo();
  24.  
  25.     Students s3 = new Students("Devina","Ivanova", 18209);
  26.     s3.setGrades();
  27.     s3.studentInfo();
  28.  
  29.     Students s4 = new Students("Kalina","Dimitrova", 18311);
  30.     s4.setGrades();
  31.     s4.studentInfo();
  32.  
  33.     Students s5 = new Students("Yavor","Todorov", 18130);
  34.     s5.setGrades();
  35.     s5.studentInfo();
  36.  }
  37. }
RAW Paste Data