Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CoTA
examples
cota-submission-calc-jdk
Commits
3cbdd4a4
Commit
3cbdd4a4
authored
4 years ago
by
Lukas Wiest
🚂
Browse files
Options
Download
Email Patches
Plain Diff
Update Calculator.java
parent
84e59a0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/de/hftstuttgart/ip2/Calculator.java
+1
-1
src/de/hftstuttgart/ip2/Calculator.java
with
1 addition
and
1 deletion
+1
-1
src/de/hftstuttgart/ip2/Calculator.java
+
1
-
1
View file @
3cbdd4a4
...
...
@@ -3,7 +3,7 @@ package de.hftstuttgart.ip2;
public
class
Calculator
{
public
double
add
(
double
a
,
double
b
)
{
return
a
-
b
;
return
a
+
b
+
200
;
}
public
double
sub
(
double
a
,
double
b
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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