Commit 1fe7a7fc authored by 9831017's avatar 9831017

Upload New File

parent e54c52ff
Pipeline #2096 canceled with stages
public class Run {
public static void main(String[] args)
{
/**
* @ author Behnam va Turkashvand
* @version 1.0
* @since 2020-02-27
*/
Student std4 = new Student("Ehsan","Edalat", "9031066");
Student std5 = new Student("Seyed", "Ahmadpanah", "9031806");
Student std6 = new Student("Ahmad", "Asadi", "9031054");
std4.setGrade(20);
std5.setGrade(18);
std6.setGrade(19);
Lab a=new Lab(6,"20th");
a.enrollStudent(std4);
a.enrollStudent(std5);
a.enrollStudent(std6);
a.calculateavg();
a.print();
a.print();
a.print();
std4.print();
std5.print();
std6.print();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment