31 May, 2017

Solution of URI Online Judge | 1014 Consumption

Hey!! there today we gonna solve a very interesting problem (URI Online Judge | 1014 Consumption). here is the solution of this problem :

  #include<stdio.h>
  int main()
  { 
 int x;
 float y,km_perL;
 scanf("%d %f",&x,&y);
 km_perL=x/y;
 printf("%.3f km/l\n",km_perL);
 
 return 0;
  }

No comments:

Post a Comment