CIS 115 Final Exam 2 CIS 115 Final Exam 2 | Page 6

Else _____ EndIf _____ Display “the sales tax is: “ + _____ End (Points : 10) 5. (TCO 5 & 10) Complete the pseudocode by rewriting the algorithm. The design is to display a 60-second countdown. Begin Declare _____ count Set REPEAT Display “countdown: “ + _____ Set - 1 UNTIL _____ EndDo Display “LIFT OFF!” End (Points : 10) 6. (TCO 4, 5 & 10) Complete the pseudocode by rewriting the algorithm. The colors red, blue, and yellow are known as primary colors because they cannot be made by mixing other colors. When you mix two primary colors, you get a secondary color. Mixing yellow and blue gets you green. Mixing red and blue gets you purple. The algorithm allows the user to enter two primary colors and then displays the resulting secondary color. The colors entered by the user will be validated to ensure they entered a primary color. Begin Declare String color1