package com.codegym.task.task06.task0610;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
ConsoleReader class
*/
public class ConsoleReader {
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
public static String readString() throws Exception {
String s = br.readLine();
return s;
}
public static int readInt() throws Exception {
int a = Integer.parseInt(br.readLine());
return a;
}
public static double readDouble() throws Exception {
double b = Double.parseDouble(br.readLine());
return b;
}
public static boolean readBoolean() throws Exception {
boolean c = Boolean.parseBoolean(br.readLine());
if (c.equals("true")){
return true;
}
else if (c.equals("false")){
return false;
}
return false;
return c;
}
public static void main(String[] args) {
}
}
package com.codegym.task.task06.task0610;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
ConsoleReader class
*/
public class ConsoleReader {
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
public static String readString() throws Exception {
String s = br.readLine();
return s;
}
public static int readInt() throws Exception {
int a = Integer.parseInt(br.readLine());
return a;
}
public static double readDouble() throws Exception {
double b = Double.parseDouble(br.readLine());
return b;
}
public static boolean readBoolean() throws Exception {
boolean c = Boolean.parseBoolean(br.readLine());
return c;
}
public static void main(String[] args) {
}
}