kD ▼ 05 ELET 2300-HW01 [Compatibility a Design Layout References Mailings Review al 12A A Hwo1 Due Sunday Sep 17, by 11:59 pm Submit your solution on blackboard learn. You will need to submit 3 files: 1, A Microsoft word document with you answers to Q1-Q6. 2. Your program for Q6 as a text file, named: hw1q6.cpp 3. Your program for Q7 as a text file, named: hw1q7.cpp Note: For Q6 and Q7 DO NOT Submit you Visual Studio 2015 project/solution files. You need to submit only the program as a text file with the extension Write an algorithm (list the steps) to swap the contents of two numbers. For example, if number1 = 10 and number2-20, after the swap, number1 = 20 and number2:10. You do not have to write a program, just the algorithm. Use the pseudocode method ie write the ep procedure using ecolish phrases, Do not use the flowchart method. 1. 2. AC+ program is required that calculates the amount, in dollars, contained in a pigaybank. The piggybank contains, quarters, dimes, nickels, and pennies a. For this programming problem, how many outputs are required? b. How many inputs does this problem have? c. Write an algorithm (psuedocode format and not flowchart) for converting the input items into output items. d. Test the algorithm written for Exercise 1c using the following sample data: quarters 17, dimes 24, nickels 16, and pennies 12 3 For the following algebraic expressions, write the corresponding C expressions: a. (2×3) (4)(5) 6+18 b. 2 Determine the values of the following numerical expressions: a. 3+4 6 4. □ Focus 529 Words