-3
I would like help with the code I’m having a problem that follows in the image:
I’m using this code:
#include <stdio.h>
#include <stdlib.h>
int main ()
{
float CP, LP, PP, LA, AA, AT, AAZ, PL, PC, FP;
int QA;
printf ("\nDigite os dados da picina");
printf ("\nComprimento, Largura, Profundidade: \n");
{
scanf("%f,%f, %f", &CP, &LA, &AA);
PL = 2*CP*PP;
PC = 2*LP*PP;
FP = CP*LP;
AT = PL+PC+FP;
AAZ = LA*AA;
QA = ((AT/AAZ)*1.05);
}
printf("\nA quantidade de azulejos para o revestimento da piscina e: %f", QA);
system("PAUSE");
}
no matter what number I put it reset and 0.0000 as a result and also skips the others I should put in the program
– matheus ferreira
What is the value of the variable
PP
?– pmg