Commit f8ccb9f6 authored by 9831133's avatar 9831133

Upload New File

parent ea9970ba
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();
std4.print();
std5.print();
std6.print();
a.print();
a.print();
a.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