This commit is contained in:
2021-11-20 10:59:16 +01:00
parent c2997d7363
commit 30faa26274
7 changed files with 40 additions and 25 deletions

View File

@@ -1,32 +1,17 @@
package various_tests;
// import hevs.utils.Input;
public class random {
public static int nbr(boolean a, boolean b, boolean c) {
int nbr = 0;
if (a) {
nbr+=1;
}
if (b) {
nbr+=1;
}
if (c) {
nbr+=1;
}
return nbr;
}
public static char alpha(char a, char b) {
return a<b?a:b;
}
public static void main(String[] args) {
System.out.println(alpha(Input.readChar(), Input.readChar()));;
String s = "héllo";
System.out.println(s);
s = "";
while (true) {
s = Input.readString();
System.out.println(s);
}
}
}