This is false.
What is cardinality?
Cardinality refers to the entity instances for which it is eligible to participate in a relationship instance. There are two types of cardinality, maximum and minimum.
What is maximum cardinality?
- The maximum cardinality of a relationship is the maximum number of instances of entity B that may be associated with each instance of entity A.
- Maximum cardinality: maximum number of entity instances that can participate in a relationship.
- One-to-One [1:1]
- One-to-Many [1:N]
- Many-to-Many [N:M]
To know more about maximum cardinality , refer:
brainly.com/question/18090451
#SPJ4
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.
Answer: OS(Operating System), CPU, And The Program That you use to view email