1017 - Fuel Spent
Problem Link
A Solution in c
A Solution in c
#include<stdio.h>
int main()
{
int a, b;
float c;
scanf("%d %d", &a, &b);
c = (a * b) / 12.0;
printf("%.3f\n", c);
return 0;
}
No comments