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
I don't believe that there are rules.
Hope I helped,
Ms. Weasley
AnswerB
Explanation:Makes since to look over the notes each night before the exam
Answer:
if you have the app go to the little answer column, click on that and the. you can answer questions hope this helps!