package com.codegym.task.task06.task0610; import java.io.BufferedReader; import java.io.InputStreamReader; /* ConsoleReader class */ public class ConsoleReader { public static String readString() throws Exception { //write your code here BufferedReader bf =new BufferedReader(new InputStreamReader(System.in)); String ab=bf.readLine(); return ab; } public static int readInt() throws Exception { //write your code here BufferedReader bf =new BufferedReader(new InputStreamReader(System.in)); String ab=bf.readLine(); int ak=Integer.parseInt(ab) ; return ak; } public static double readDouble() throws Exception { //write your code here BufferedReader bf =new BufferedReader(new InputStreamReader(System.in)); String au=bf.readLine(); double ak=Double.parseDouble(au) ; return ak; } public static boolean readBoolean() throws Exception { //write your code here BufferedReader bf =new BufferedReader(new InputStreamReader(System.in)); String ab=bf.readLine(); //int ak=Integer.parseInt(ab) ; //boolean t=false; boolean t =ab.equals(true)?true:false; return t; } public static void main(String[] args) { } }