Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
9
9831017 va 9831133-Jalase 2_ Grouh Shanbe_Code Asli
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
9831017
9831017 va 9831133-Jalase 2_ Grouh Shanbe_Code Asli
Commits
1fe7a7fc
Commit
1fe7a7fc
authored
Mar 05, 2020
by
9831017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
e54c52ff
Pipeline
#2096
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
Run.java
Run.java
+29
-0
No files found.
Run.java
0 → 100644
View file @
1fe7a7fc
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
();
}
}
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