Read two numbers in a single line in Portugol Studio

0

People, please, somebody help me.

I am going to participate in a competition in a few days, and for data entry it is necessary to make an input of more than one value on the same line. For example, instead of the user entering the first value, pressing enter and informing the next one, it would report directly "5 2".

In C ++ and Java it is possible to do something like this:

int valores[2];

for(int i = 0; i<2; i++){
    cin>>valores[i];
}

But this same scheme does not work in Portugol Studio.

Help me, please !!!

    
asked by anonymous 23.08.2018 / 02:44

0 answers