Search:

Type: Posts; User: kunalgaurav18

Search: Search took 0.27 seconds.

  1. Re: Take multiple inputs in a single line.

    No the input is not read from a file. It is being given by the user in the same way i shown above.
  2. Taking multiple inputs in single line separated by space in java?

    I want to take input in the following way:
    Sample Input 1
    3
    45 3 14

    Sample Input 2
    5
    12 34 5 56 7

    The first line is the number of test cases and the second line is the corresponding values...
Results 1 to 2 of 2