Skip to content

Commit 0326495

Browse files
authored
If you know these, blessed are you if you do it
If you know these things, blessed are you if you do them.(John 13:17)
1 parent 7c62f20 commit 0326495

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

‎task12/task1210/Solution.java‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package com.javarush.task.task12.task1210;
2+
3+
//If you know these things, blessed are you if you do them.(John 13:17)
4+
5+
/*
6+
Три метода и максимум
7+
*/
8+
9+
public class Solution {
10+
public static void main(String[] args) {
11+
12+
}
13+
14+
public static int max (int a, int b) {//Напишите тут ваши методы
15+
if (a>b) {return a;}else{return b;}
16+
}
17+
public static long max (long a, long b) {
18+
if (a>b) {return a;}else{return b;}
19+
}
20+
public static double max (double a, double b) {
21+
if (a>b) {return a;}else{return b;}
22+
}
23+
}

0 commit comments

Comments
 (0)