Answer:
the kind of car I want to ride for the rest of my life is Lamborghini.
Explanation:
Answer:
Below is the desired C++ program for the problem. Do feel free to edit it according to your preference
Explanation:
#include <iostream>
#include <vector>
using namespace std;
void ExactChange(int userTotal, vector<int> &coinVals) {
coinVals.reserve(5);
coinVals[0] = userTotal / 100;
userTotal %= 100;
coinVals[1] = userTotal / 25;
userTotal %= 25;
coinVals[2] = userTotal / 10;
userTotal %= 10;
coinVals[3] = userTotal / 5;
userTotal %= 5;
coinVals[4] = userTotal;
}
int main() {
vector<int> coins;
int value;
cin >> value;
if (value <= 0) {
cout << "no change" << endl;
} else {
ExactChange(value, coins);
if (coins[0] != 0) cout << coins[0] << " " << (coins[0] == 1 ? "dollar" : "dollars") << endl;
if (coins[1] != 0) cout << coins[1] << " " << (coins[1] == 1 ? "quarter" : "quarters") << endl;
if (coins[2] != 0) cout << coins[2] << " " << (coins[2] == 1 ? "dime" : "dimes") << endl;
if (coins[3] != 0) cout << coins[3] << " " << (coins[3] == 1 ? "nickel" : "nickels") << endl;
if (coins[4] != 0) cout << coins[4] << " " << (coins[4] == 1 ? "penny" : "pennies") << endl;
}
return 0;
}
Answer:
The answer to this question is 1273885.3 ∅
Explanation:
<em>The first step is to determine the required hydraulic flow rate liquid if working pressure and if a cylinder with a piston diameter of 100 mm is available.</em>
<em>Given that,</em>
<em>The distance = 50mm</em>
<em>The time t =10 seconds</em>
<em>The force F = 10kN</em>
<em>The piston diameter is = 100mm</em>
<em>The pressure = F/A</em>
<em> 10 * 10^3/Δ/Δ </em>
<em> P = 1273885.3503 pa</em>
<em>Then</em>
<em>Power = work/time = Force * distance /time</em>
<em> = 10 * 1000 * 0.050/10</em>
<em>which is =50 watt</em>
<em>Power =∅ΔP</em>
<em>50 = 1273885.3 ∅</em>