Answer:
strr=input("please enter something: ")
while strr is not "":
print(strr)
strr=input("please enter something: ")
Explanation:
whenever the user will enter an empty string the loop will terminate
The answer is going to be False they do not use the same Web crawler.
HOPES THIS HELP:)
The value of discountRate after the following statements are executed
double discountRate = 0.0;
int purchase = 100;
if (purchase > 1000) discountRate = 0.05;
else if (purchase > 750) discountRate = 0.03;
else if (purchase > 500) discountRate = 0.01;
is<u> 0.0</u>
<u></u>
Explanation:
The discount rate is declared as a double; double discountRate = 0.0;
The purchase is declared as integer; int purchase = 100;
The first if statement shows if purchase > 1000 then the discountRate is 0.05
The second if statement shows if purchase > 750then the discountRate is 0.03
The third if statement shows if purchase > 500 then the discountRate is 0.01
- Since none of these statements are true, the original discountRate is printed.
Answer:
b. foreign key
Explanation:
In the database world, a foreign key is a field on one table and a primary key for another table. The purpose of a foreign key is to provide linkages between two or more tables. Given two tables A and B, and making A the point of reference, a primary key is a field that is unique in A while a foreign key is unique in B.
On another hand, a composite primary key is a combination of two or more fields/columns on database table that can be used to uniquely identify each row in the table.
In the database lingua, what we have is a unique key not a distinct key, though the two words are similar in meaning.
A duplicate key is used when an information may be repeatedly entered on a table.
So the correct option is a foreign key.