Beecrowd URI 1017 Fuel Spent Problem Solution in C Language

BEECROWD / URI beginner section there has a problem named fuel spent that is 1017 number problem in beecrowd beginner section. Here i share the problem solution in C Language. If you see any problem in beecrowd 1017 fuel spent problem then you can follow this solution.


Beecrowd URI 1017 Fuel Spent Problem Solution in C Language


Beecrowd All Problem Solutions List


THE SOLUTION IS :


// Author: Rayhan Hosen Refat

#include <stdio.h>

int main()

{

    double a,b,c;

    scanf("%lf%lf",&a,&b);

    c = (a * b)/12 ;

    printf("%.3lf\n", c);


    return 0;

}


THIS WILL HELP YOU.