CIS 115 All Assignments CIS 115 All Assignments | Page 22

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 counter. The counter needs to begin at 1. Begin Declare _____ count Set REPEAT Display “counter: “ + _____ Set count = _____ + 1 UNTIL count _____ Display “Done!” End (Points : 10) 6. (TCO 4 & 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. Begin Declare _____ color1 Declare _____ color2 _____ “Enter first primary color: “ Input _____ Prompt “Enter the second primary color: “