After taking 4 input the last one overwrites all the input or how we can take 4 input simultaneously and produce the corresponding decimal number as output.
Unable to to take input and produce corresponding output
create a loop for no of test cases .for each test case take input the number n and print the corresponding answer for it .
why this code throw java.util.NoSuchElementException as this is working correctly on my ecllipse iDE
Give testcases before compiling