Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pcz_xyz
Overview
Overview
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
Patryk Czarnik
pcz_xyz
Commits
3b8455c8
Commit
3b8455c8
authored
Oct 25, 2022
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
niewiemco
parent
3726039a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
ProgramJednometodowy.java
src/main/java/kalkulatory/ProgramJednometodowy.java
+1
-1
Duplikacja2.java
src/main/java/osoby/Duplikacja2.java
+6
-2
No files found.
src/main/java/kalkulatory/ProgramJednometodowy.java
View file @
3b8455c8
...
@@ -16,7 +16,7 @@ public class ProgramJednometodowy {
...
@@ -16,7 +16,7 @@ public class ProgramJednometodowy {
int
wynik
=
KalkulatorJednometodowy
.
oblicz
(
liczba1
,
liczba2
,
operacja
);
int
wynik
=
KalkulatorJednometodowy
.
oblicz
(
liczba1
,
liczba2
,
operacja
);
System
.
out
.
printf
(
"%d %s %d = %d\n"
,
liczba1
,
operacja
,
liczba2
,
wynik
);
System
.
out
.
printf
(
"%d %s %d = %d\n"
,
liczba1
,
operacja
,
liczba2
,
wynik
);
}
}
System
.
out
.
println
(
"nara"
);
System
.
out
.
println
(
"nara
zakończyć
"
);
}
}
}
}
src/main/java/osoby/Duplikacja2.java
View file @
3b8455c8
...
@@ -26,7 +26,11 @@ public class Duplikacja2 {
...
@@ -26,7 +26,11 @@ public class Duplikacja2 {
}
}
private
static
void
wypiszTeksty
()
{
private
static
void
wypiszTeksty
()
{
System
.
out
.
println
(
"Ala ma kota"
);
wypiszTeksty
(
"Ala ma kota"
,
"Ola ma psa"
);
System
.
out
.
println
(
"Ola ma psa"
);
}
private
static
void
wypiszTeksty
(
String
txt1
,
String
txt2
)
{
System
.
out
.
println
(
txt1
);
System
.
out
.
println
(
txt2
);
}
}
}
}
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