This commit is contained in:
flykhan 2023-03-24 10:55:54 +08:00
parent da036a3a93
commit e749379ab0
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#include <cstdio>
using namespace std;
int main()
{
int x;
float y;
scanf("%d%f", &x, &y);
printf("%.3f km/l", x / y);
return 0;
}