Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
984d6be4
Commit
984d6be4
authored
Aug 18, 2023
by
gu-jinli1118
Browse files
55
parent
4e59babb
Changes
1
Show whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/utils/triangle.java
View file @
984d6be4
...
...
@@ -4,6 +4,6 @@ public class triangle extends shape {
@Override
public
double
area
(
int
length
,
int
width
)
{
System
.
out
.
println
(
"triangle ~area"
);
return
1
/
2
*
length
*
width
;
return
1
.0
/
2
*
length
*
width
;
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
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