# URI Online Judge Solution 1017 Fuel Spent – URI 1017 Solution in C, C++, Java, Python and C#

### URI Online Judge Solution 1002 Area of a Circle – Solution in C, C++, Java, Python and C#

URI Online Judge Solution 1017 Fuel Spent | Beginner

Problem Name: 1017 Fuel Spent solution
Problem Number : URI – 1017 Fuel Spent code
Online Judge : URI Online Judge Solution
Category: Beginner
Solution Language : C,C plus plus, java, python, c#(c sharp)

 URI Online Judge Solution 1017 Fuel Spent – URI 1017 Solution in C, C++, Java, Python and C#

### URI Solution 1017 Fuel Spent Code in C:

`#include <stdio.h>int main(){ double a, b, r; scanf("%lf %lf", &a, &b); r = (a * b)/12;  printf("%.3lfn", r); return 0;}`

### URI Solution 1017 Fuel Spent Code / URI 1017 Fuel Spent solution in CPP:

`#include <iostream>#include <stdio.h>using namespace std;int main(){    int a, b;    cin >> a;    cin >> b;        float f = (a*b)/12.0;        printf("%.3fn", f);        return 0;    }`

### URI Solution 1017 Fuel Spent Code / URI 1017 Fuel Spent solution in Java:

`import java.util.Scanner;public class Main { public static void main(String[] args) {  double a, b, r;  Scanner sc = new Scanner(System.in);  a = sc.nextDouble();  b = sc.nextDouble();  r = (a * b)/12;    System.out.printf("%.3fn", r);   }}`

### URI Solution 1017 Fuel Spent Code / URI 1017 Fuel Spent solution in  C# (C Sharp):

Demonstration:

Just implement this in coding. Since having any problem just put a comment below. Thanks

Tags: URI Online Judge Solution, URI OJ Solution list, URI Problems Solution, URI solver, URI all problem solution list, URI Fuel Spent code in C, URI 1017 code in C++, URI Fuel Spent  solution in C, URI solution, URI 1017 Fuel Spent  solution in C,URI 1017 Fuel Spent  solution in C++-CPP,URI 1017 solution in C# (C sharp),URI 1017 Fuel Spent  solution in Java,URI 1017 Fuel Spent  solution in Python,

#### By Maniruzzaman Akash

Maniruzzaman Akash is a freelance web developer with most popular Laravel PHP frameork and Vue JS