Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
B
Behnam Va Turkashvand-Jalase 2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9831133
Behnam Va Turkashvand-Jalase 2
Commits
f8ccb9f6
Commit
f8ccb9f6
authored
Feb 27, 2020
by
9831133
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
ea9970ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
Run.java
Run.java
+27
-0
No files found.
Run.java
0 → 100644
View file @
f8ccb9f6
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
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment