Answer:
Attached excel file containing formula for monthly cost of gas.
Explanation:
To find mileage note down readings at the star of month and at end of month.
Subtract end of month reading from start this will give you number of miles in month. Now as per mentioned in question, divide number of miles by average mpg and multiply by the price of a gallon of gas.
Here is your monthly cost of gas.
The answer is in the following website: https://www.reference.com/history/were-video-games-invented-e9413d3dc1378766
Answer:
0.00452
Explanation:
There are 4 sixes in a deck. So the chance that the first card you draw is a six, is 4/52. Then there are only 3 sixes left and 51 cards. So the chance that the second one is also a six is 3/51.
The combined chance is the multiplication, i.e., 4/52 * 3/51 = 0.00452
Answer:
#include <stdio.h>
int main()
{
int x;
float y;
printf("Input total distance in km: ");
scanf("%d",&x);
printf("Input total fuel spent in liters: ");
scanf("%f", &y);
printf("Average consumption (km/lt) %.3f ",x/y);
printf("\n");
return 0;
}