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.
Your most logical answer is B 3. :)
Answer:
B. Firewall
Explanation:
Firewall, just like encryption prevents unauthorized entry into a computer. However, Firewall can be implemented in both hardware or software form; or even a combination of both.
c++, because it is considered as the mother of all programming languages. you can easily access other programming languages if you have a command on c++