Untitled

Run Settings
LanguageC
Language Version
Run Command
#include <stdio.h> int main(void) { int L, D, K, P, Custo, gasolina, numerop, valorp; scanf("%d %d", &L, &D); scanf("%d %d", &K, &P); gasolina = K*L; numerop = L/D; valorp = P*numerop; Custo = gasolina + valorp; printf("%d\n", Custo); return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines