I don't know how to satistied the condition task...
I'm really stuck if someone can give me a hint or a clue..
package fr.codegym.task.task06.task0610;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Classe LecteurConsole
*/
public class LecteurConsole {
public static String lireString() throws Exception {
BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
String str = sc.readLine();
return str;
}
public static int lireInt() throws Exception {
BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
int nm = Integer.parseInt(sc.readLine());
return nm;
}
public static double lireDouble() throws Exception {
BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
double nm2 = Double.parseDouble(sc.readLine());
return nm2;
}
public static boolean lireBoolean() throws Exception {
BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
String bool = sc.readLine();
if(bool =="true"){
return true;
}
else if (bool == "false"){
return false;
}
else{
return false;
}
}
public static void main(String[] args) {
}
}