Skip to content

Commit fa96ad5

Browse files
authored
BeeCrowd 1014 Solution in cpp
1 parent aef38ae commit fa96ad5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

1014.cpp

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#include <iostream>
2+
#include <iomanip>
3+
4+
using namespace std;
5+
6+
int main(){
7+
int X;
8+
double Y,consum;
9+
10+
cin>>X>>Y;
11+
consum=X/Y;
12+
13+
cout<<fixed<<setprecision(3)<<consum<<" km/l"<<endl;
14+
15+
return 0;
16+
}

0 commit comments

Comments
 (0)