Car Pooling Calculator
Car driving cost per day Calculator:
#include<iostream>
using namespace std;
void main()
{
float milesPD,costPG,avgMPG,pfeesPD,tollsPD;
float total_cost;
cout<<"enter total miles driven per day:\n";
cin>>milesPD;
cout<<"enter cost per gallon of gasoline:\n";
cin>>costPG;
cout<<"enter average mile per gallon:\n";
cin>>avgMPG;
cout<<"enter parking fees per day:\n";
cin>>pfeesPD;
cout<<"enter tolls per day:\n";
cin>>tollsPD;
total_cost=(milesPD/avgMPG)*costPG+pfeesPD+tollsPD;
cout<<"your cost per day driving to work "<<total_cost<<"Rupees"<<endl;
}
Download:
To download this code click on the given link below;
Thanks for sharing this this post.
ReplyDeleteweb design agency uk
web design agency uk
web design agency uk
web design agency uk
web design agency uk
When a student sets out to buy their first graphing calculator, they are often surprised at what a complicated piece of equipment it truly is. These calculators are like small, handheld computers and buying them can be quite an ordeal. hours for work calculator
ReplyDeleteForgetting to write down and check work. Any exam with a calculator should have a warning on it! It is essential to write down matrix calculator the calculations that you're doing so that you can get method marks.
ReplyDelete