Answer:
#include <iostream>
using namespace std;
void PrintPopcornTime(int bagOunces) {
if(bagOunces < 3){
cout << "Too small";
cout << endl;
}
else if(bagOunces > 10){
cout << "Too large";
cout << endl;
}
else{
cout << (6 * bagOunces) << " seconds" << endl;
}
}
int main() {
PrintPopcornTime(7);
return 0;
}
Explanation:
Using C++ to write the program. In line 1 we define the header "#include <iostream>" that defines the standard input/output stream objects. In line 2 "using namespace std" gives me the ability to use classes or functions, From lines 5 to 17 we define the function "PrintPopcornTime(), with int parameter bagOunces" Line 19 we can then call the function using 7 as the argument "PrintPopcornTime(7);" to get the expected output.
Answer:
Explanation:
In order to keep your car running at its best, it’s important to keep up with routine maintenance and inspections. By properly maintaining your vehicle, you’ll reduce future repair costs, optimize your car’s performance, maintain its value and extend its life. Here are some regular maintenance needs to keep in mind for your vehicle:
Answer:
38 kJ
Explanation:
The solution is obtained using the energy balance:
ΔE=E_in-E_out
U_2-U_1=Q_in+W_in-Q_out
U_2=U_1+Q_in+W_in-Q_out
=38 kJ
Answer:
True
Explanation:
The relationship between sales reps and customers is an example of a one-to-many relationship. This is because one sales rep can be associated with many customers but a customer must have one sales rep. It is impossible for a customer to have zero sales rep but this is quite possible for a sales rep to have either zero, one or even more customers. Therefore the statement is True.