Answer:
The code to this question can be given as:
Code:
while ((s!="Y" && s!="y" && s!="N" && s!="n")) //loop for check condition
{
cin >> s; //insert value
}
Explanation:
The description of the following code:
- In this code, we use a string variable s that has been to define in question.
- In code, we use a while loop. It is an entry control loop in loop we check variable s value is not equal to "y", "Y", "n" and "N".
- In the loop we use AND operator that checks all value together. If this is true So, we insert value-form user input in string variable that is "s".
Start
Int ID = user.input
String name = user.input
Int roomType = user.input
Int commission = 0
If roomType == 3 rooms
commission = $100
Else if roomType == 2 rooms
commission = $75
Else if roomType == 1 rooms
commission = $55
Else if roomType == studio
commission = $30
Print name
Print ID
Print commission
End
Answer:
A relationship in Access helps you combine data from two different tables. Each relationship consists of fields in two tables with corresponding data. For example, you might have a ProductID field in a Products table and in an OrderDetails table.
Explanation:
Answer:
X is in NP and Y is in NP-HARD ( A )
Explanation:
X is in NP and Y is in NP-HARD can be inferred from the previous statement made in the problem above because problem decision X can be in NP if it can BE reducible to a 3-SAT polynomial real time, if that can be achieved then 3SAT will be in NP since SAT is in NP as well.
also problem decision Y can be in NP-HARD if 3SAT can be reducible to it in polynomial time as well hence option A is the correct option
Answer:The first one. Click Keep Changes.
Explanation: cause I did right