0

Hello, i'm not understanding all this erros, someone could help me please?

https://code.sololearn.com/cVfpm4zXt2w9/?ref=app

3rd Nov 2020, 4:05 PM
João Bernardo
João Bernardo - avatar
4 Antworten
+ 1
There are may of error in your program use condition properly Here u used & of u should use && U also missed closing bracket bracket of else if statement else if( salario_bruto > 1045) && (salario_bruto > 2089.6){ inss = salario_bruto * 0.09; ir = salario_bruto * 0.09; } You have some more closing bracket. In conditions use one more bracket like this else if( (salario_bruto > 1045) && (salario_bruto > 2089.6)) Try to debug one by one
3rd Nov 2020, 4:17 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
João Bernardo yes your this format %2.f is wrong thats why you should write like this %.2f
5th Nov 2020, 2:34 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
Thanks, I will do it now
4th Nov 2020, 1:47 AM
João Bernardo
João Bernardo - avatar
0
It's working now, thank you sou much. I have more one question, in solo learn the %2.f don't work?
4th Nov 2020, 1:56 AM
João Bernardo
João Bernardo - avatar