Answer:
#include <iostream>
#include<iomanip>
using namespace std;
double DrivingCost(double drivenMiles, double milesPerGallon, double dollarsPerGallon)
{
double dollarCost = 0;
dollarCost = (dollarsPerGallon * drivenMiles) / milesPerGallon;
return dollarCost;
}
int main()
{
double miles = 0;
double dollars = 0;
cout << "Enter miles per Gallon : ";
cin >> miles;
cout << "Enter dollars per Gallon: ";
cin >> dollars;
cout << fixed << setprecision(2);
cout << endl;
cout << "Gas cost for 10 miles : " << DrivingCost(10, miles, dollars) << endl;
cout << "Gas cost for 50 miles : " <<DrivingCost(50, miles, dollars) << endl;
cout << "Gas cost for 400 miles: "<<DrivingCost(400, miles, dollars) << endl;
return 0;
}
Explanation:
- Create a method definition of DrivingCost that accepts three input double data type parameters drivenMiles, milesPerGallon, and dollarsPerGallon and returns the dollar cost to drive those miles
.
- Calculate total dollar cost and store in the variable, dollarCost
.
- Prompt and read the miles and dollars per gallon as input from the user
.
- Call the DrivingCost function three times for the output to the gas cost for 10 miles, 50 miles, and 400 miles.
Since a Gigabyte is made of Megabytes, 500 Megabytes times 2, 2(500MB), is equal to one Gigabyte. (1000MB)
UNLESS, it wants the Windows way of storage, because one Gigabyte in Windows terms is actually 1024 megabytes... then it’d be 2(512MB) because 512MB and 512MB equals one windows storage gigabyte.
<span>It is false that given the option of receiving a generic r_sum_ or a tailored r_sum_, employers always prefer generic r_sum_s. This is false because rarely do employers need something generic from you - they'd always want you to present them with a specific result because that is more important to them than receiving something general and common.</span>
Answer:
"We need to maintain a performance standard for the processes in the project." - <em>managing quality</em>
"There can be certain threats or problems during project execution. We need to handle them." - <em>managing risks</em>
"The client needs some additional requirements in the project. We need to accommodate them." - <em>managing change</em>
"The project activities are getting chaotic. We need to manage them efficiently." - <em>organizing activities</em>
Explanation:
Project management can help Michael manage all these needs that he and his team have. Project management is the application of skills and tools to a particular project. This requires certain knowledge and techniques in order to ensure that the project requirements are properly met. Project management does not generally deal with a whole company at once. Instead, a project is a temporary situation, and it needs to be completed within a specific timeframe. It also means that such a project has a defined scope and resources, which make efficient management even more important.