-1
#include <iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main() {
float parede, litros;
printf ("Calcular litros de tintas por metros quadrados.\n");
printf ("Digite a metragem da parede(em metros ao quadrado):");
scanf("%f", parede);
if (litros = parede*2/10)
printf("sao necessarios (litros):");
scanf("%f", litros);
system ("pause");
return 0;
}
Related: What is the meaning of the operator "&" (and commercial) in the C language?
– NoobSaibot
Ignoring several problems of which much has already been pointed out by answers, because
<iostream>
if the program is all in C ?– Isac