inputReader.js (***REVISE nice question)
/** * Input reader -- Classes Practice Problems Write an InputReader class that can read n strings/integers/floats. InputReader should have 3 methods: readStrings, readIntegers, readFloats. Each of these methods should take n as parameter and read n number of inputs, print them, one on each line, prepended with the index number of inputs taken, starting from 0, like indexes in an array. The index and the element should be space separated. For floats, the output should be rounded to 2 decimal places only. Inputs are handled by the template. You need to implement the methods readStrings, readIntegers, readFloats inside the InputReader class. Input First line contains an integer n, 0 < n <= 100. Second line contains a string which indicates the type of the array: string, integer, float. This is followed by n lines. Each line contains one element which could be string/integer/float based on the second line. Output The output should contain n lines. Each line contains...