Answer:
Laurence can write 10 programs while Carrie Anne can write 5.
Laurence can make 6 sunglasses while Carrie Anne can make 4
Explanation:
Answer:
If you don't know your skills to get this profession then you shouldn't be in this profession try another profession that is more your type that doesn't require this types of skills, don't ask random people about your hobbies thanks!
<u><em>Warning:</em></u>
If this persists this account may be moderated.
A high deductible plan if that person blames you for it and said that it was on purpose
Answer:
Explanation:
The following is written in C++ and asks the user for inputs in both miles/gallon and dollars/gallon and then calculates the gas cost for the requested mileages using the input values
#include <iostream>
#include <iomanip>
using namespace std;
int main () {
// distance in miles
float distance1 = 20.0, distance2 = 75.0, distance3 = 500.0;
float miles_gallon, dollars_gallon;
cout << "Enter cars miles/gallon: "; cin >> miles_gallon;
cout << "Enter cars dollars/gallon: "; cin >> dollars_gallon;
cout << "the gas cost for " << distance1 << " miles is " << fixed << setprecision(2) << (float) dollars_gallon * distance1 / miles_gallon << "$\n";
cout << "the gas cost for " << distance2 << " miles is " << fixed << setprecision(2) << (float) dollars_gallon * distance2 / miles_gallon << "$\n";
cout << "the gas cost for " << distance3 << " miles is " << fixed << setprecision(2) << (float) dollars_gallon * distance3 / miles_gallon << "$\n";
return 0;
}