Skip to content

Commit ca35f3e

Browse files
Update math_class.java
1 parent 4a67cdc commit ca35f3e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

math_class.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
public class math_class {
2-
public static void main(String[] args) {
1+
public class math_class
2+
{
3+
public static void main(String[] args)
4+
{
35
double x=28;
46
double y=4;
57
System.out.println("maximum of two numbers"+ Math.max(x, y));//return the max of two number

0 commit comments

Comments
 (0)