My code is giving error id returned 1 and I have not the slightest idea why this is giving this error I did everything right, could anyone help me?
#include <stdio.h>
#include <stdlib.h>
int main ()
{
float CP,LP,PP,LA,AA,PL,PC,FP,AT,QA,AAZ;
Printf ("\nApresente o comprimento,Largura e profundidade: ");
scanf ("%f, %f, %f", &CP, &LP, &PP);
printf ("\napresente largura e altura do azulejo: ");
scanf ("%f, %f", &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");
}