<span>An attribute in a relation of a database that serves as the primary key of another relation in the same database is called a
</span>
        
             
        
        
        
Try resetting the phone if that doesn’t work do a hard reset
        
             
        
        
        
Answer:
C. redundant networks are more reliable.
Explanation: I just got a 100 on a test and that question was asked.
 
        
             
        
        
        
Answer:
int calculate_cost(int quantity) {
    double cost = 0;
    if (quantity <= 20)
        cost = quantity * 23.45;
    else if (quantity >= 21 && quantity <= 100)
        cost = quantity * 21.11;
    else if (quantity > 100)
        cost = quantity * 18.75;
    
    return cost;
}
Explanation:
Create a function called calculate_cost that takes one parameter, quantity
Initialize the cost as 0
Check the quantity using if else structure. Depending on the quantity passed, calculate the cost. For example, if the quantity is 10, the cost will be $234.5
Return the cost
 
        
             
        
        
        
Answer:
The answer is "Option A".
Explanation:
In the given code an integer array "x" is defined, that stores some elements and another integer variable "a" is declared, that holds a value that is "10". In this code a conditional statement is defined, which checks array element value, in if block element of array that position is 2 is greater then the element of array that position is 5.if this condition is true, so variable a value is change that is equal to 5. In else block if the above condition is not true so the value of a variable is equal to 8, and another options is wrong that can be described as follows:
- In option B, The given condition is not false, that's why it is not correct.
 
- In option C, The value of variable a is changed when condition is true or false, that's why it is not correct.
 
- In option D, It is wrong because we can compare array elements.