خرید بک لینک

Vote count: 0

What i'm trying to do is to declare a certain amount of strings according to the amount of tokens a scaer scans in a single input, then have these strings equal the next input. This is what i'm trying:

int numberOfTokens = 0;

boolean mainLoop = true;

Scaer input = new Scaer(System.in);

while(mainLoop == true)
{
   while(input.hasNext())
   {
      String int(+ numberOfTokens) = input.next(); (this doesn't work)
      numberOfTokens += 1;
   }
}

I hope I made it clear of what I am trying to do. I tried using String arrays, but they won't work for what i'm trying to do. Thanks.

asked 4 mins ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 28 اسفند 1394 ساعت: 3:14

صفحه بندی