Custo de um carro

Run Settings
LanguageC
Language Version
Run Command
#include <stdio.h> int main() { float CF; float L; float I; float II; float PL; float CT; scanf("%f", &CF); scanf("%f", &L); scanf("%f", &I); scanf("%f", &CT); scanf("%f", &PL); scanf("%f", &II); PL=(CF*(100+L)/100); II=(CF*(100+I)/100); CT=(CF+II+PL-(2*CF)); printf("O custo ao consumidor de um carro novo é a soma do do custo de fábrica %f, a porcentagem de lucro %f%% e a porcentagem dos impostos %f%%\n", CF, L, I ); printf("O custo total para o consumidor foi %f", CT); return 0;}
Editor Settings
Theme
Key bindings
Full width
Lines