This commit is contained in:
parent
da036a3a93
commit
e749379ab0
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue