Answer:
If a museum charges different prices based on the day of the week and age of the visitor. The pricing rules are shown below.
- On Tuesday and Thursday children 10 and under get in free ($ 0).
- For all other days and ages the cost is ten dollars ($ 10).
The code in python is;
if (day == 'Tuesday' or day == 'Thursday') and age <= 10:
price = 0
else:
price = 10
Explanation:
The logic of the algorithm suggests that that the conditional if-statement assigns zero to the price variable if the day variable is either Tuesday or Thursday and the child's age is 10 or below but assigns 10 to the price variable if the condition is not met.
The scope of a temporary table is limited to the database session in which it's defined.
<h3>What is a database?</h3>
A database can be defined as an organized and structured collection of data that are stored on a computer system as a backup and are usually accessed electronically.
In database management system (DBMS), the scope of a temporary table is generally limited to the database session in which it's defined by a software developer or programmer.
Read more on database here: brainly.com/question/13179611
#SPJ12
I think the answer is
A) All of the answers are correct
I hope this helps :)