Answer:
What is the following?
Explanation:
There is no following listed, so I can't help you.
Answer:
Changing the customer number on a record in the Orders table to a number that does not match a customer number in the customer table would violate referential integrity.
If deletes do not cascade, deleting a customer that has orders would violate referential integrity.
If deletes cascade, customer can be deleted and all orders for that customer will automatically be deleted.
Answer:
#include <iostream>
using namespace std;
void PrintPopcornTime (int bagOunces){
if (bagOunces < 2){
cout << "Too small"<<endl;
}
else if (bagOunces > 10){
cout << "Too large"<<endl;
}
else{
cout << bagOunces*6 <<" seconds"<<endl;
}
}
int main(){
PrintPopcornTime(7);
return 0;
}
Explanation:
Create a function called PrintPopcornTime that takes one parameter, bagOunces
Check the bagOunces using if-else structure. If it is smaller than 2, print "Too small". If it is greater than 10, print "Too large". Otherwise, calculate and print 6*bagOunces followed by " seconds".
Call the function in the main function with parameter 7. Since 7 is not smaller than 2 or not greater than 10, "42 seconds" will be printed.
Change slides by clicking on background.
Answer:
arson, kidnapping, gun fighting
Explanation: