Search:

Type: Posts; User: mia_tech

Search: Search took 0.18 seconds.

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

    since your input is in the form of


    3
    10 20 30

    you could read the first line and then loop through the second line...


    /**code removed by moderator*/
  2. Re: Take multiple inputs in a single line.

    Are you reading from standard input or from a file?
Results 1 to 2 of 2