This program uses a conditional to determine if seafood is safe to consume.
IF (seafood = "mollusk" OR daysFrozen ≥ 7) { rating ← "safe" } ELSE { rating ← "unsafe" }
In which situations will rating be "safe"?
️Note that there may be multiple answers to this question.
Choose all answers that apply:Choose all answers that apply:
1. When sea food is mollusk and day frozen is 1
2.When sea food is mollusk and day froze is 9
3. When see food salmon and day frozen is 7
<em>Did that help?</em>
Yes, the written program has the correct logic to assign the correct discount for each of the 4 valid values of customer_category
<h3>What is a Program?</h3>
This refers to the sequence of instructions that are keyed into a computer to execute user-specific commands.
Hence, we can see that based on the variable customer_category that has a string that is one of these 4 values:
0 for "None"
5 for "Bronze"
10 for "Silver"
20 for "Gold"
The program uses the correct syntax as it gives the correct discount based on the assigned values of the variable customer_category as executed with the syntax above.
Read more about programs here:
brainly.com/question/1538272
#SPJ1
The rules of a programming language constitute its syntax.
The Function of a header is that it makes your TEXT LOOK BIGGER