Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
secondWeekLab
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
cosmina.dunca
secondWeekLab
Commits
a8d3011a
Commit
a8d3011a
authored
Feb 13, 2022
by
cosmina.dunca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change1
parents
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
App.java
src/App.java
+17
-0
No files found.
src/App.java
0 → 100644
View file @
a8d3011a
public
class
App
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
System
.
out
.
println
(
"Hello, World!"
);
int
daysPerWeek
=
7
;
int
numberOfWeeks
=
6
;
int
totalDays
=
daysPerWeek
*
numberOfWeeks
;
System
.
out
.
println
(
totalDays
);
boolean
onHoliday
=
false
;
double
approxPI
=
3.14
;
double
circumference
=
2
*
3
*
approxPI
;
String
greetingString
=
"Hello"
;
String
introductionString
=
"My name is Inigo Montoya"
;
String
reminderString
=
"You killed my father"
;
String
threatString
=
"Prepare to die!"
;
System
.
out
.
println
(
greetingString
+
", "
+
introductionString
+
", "
+
reminderString
+
", "
+
threatString
);
}
}
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