Hitung berapa banyak liter yang dibutuhkan
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
float spentTime,kmH , carSpeed(12);
cin >> spentTime >> kmH;
cout.precision(3);
cout << fixed << (spentTime * kmH) / carSpeed << endl;
return 0;
}
ibrahim Khalid