Portugol error... I’m new, first time here

Asked

Viewed 184 times

0

Says Guys, blx... I’m new at this, very new actually... anyway, I’m with a mistake in Portugol, and I really don’t understand what’s wrong, you’re asking to put '(' but it’s already there... I’m sorry, because I know this is bullshit, but I’m getting beat, I’ve already redone the code and it’s still the same thing... as I’m pretty green in this world, I’m not sure if it’s some Bug... Thanks for the support, vlwwwww

programa
{

    funcao inicio()
    {
        inteiro contador=0
        cadeia cliente[][]= {{"João","São Paulo","(11)9999-5241"},{"Maria","Ribeirão Preto","(16)9999-8596"},{"Ana","Manaus","(92)9999-8574"}}

        faca{
            escreva("Cliente: " + cliente[contador][0]+"Cidade: "+[contador][1]+"N° de Telefone: "+[contador][2])
            contador++
        }enquanto(contador<=2)
    }
}

error is on line 10 - type("Client: " - ... The expression was not started correctly. Enter the '(' character to correct the problem. but as you can see, there’s the damned... and in the other examples I did, it worked... I thank you for your help

  • It shouldn’t be: escreva("Cliente: " + cliente[contador][0]+"Cidade: "+ cliente[contador][1]+"N° de Telefone: "+ cliente[contador][2])?

  • my bitch... kkkkk vlw... as I said, I’m learning... I thought the problem was in the '('.... vlw bro.. helped pacas, thanks m/

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.