Question: USE C++ ONLY PLEASE! FILL IN THE TABLE BELOW AFTER ANSWERING THE QUESTIONS! THANK YOU You need to prepare and submit ONE SINGLE MS Word

You need to prepare and submit ONE SINGLE MS Word document to Canvas (in your lab section) as LastName FirstName Labxy.doc. It must contain: - Only your NAME on page 1 - For each question, in this order: Specify the question number. Initial test plan. After reading the question requirements, but before beginning any coding, create the test case table, below, completed through column Expected Output. Include in your report. Source code. Copy/Paste your final source code. You must include standard "comment header" even if code is provided. Do Not paste a snippet of your source code, it must be copy/pasted. Final test plan. Write your program then complete the test table with actual output results and include in your report. Output results. Paste in a snippet of output showing results for every listed test case in your final test plan, labeled with test case \# Test Table: Add / delete rows from Test Table as necessary Modify column widths as necessary Test both valid and invalid input Test for every output expected If failure is an expected output and it happens then that test Passes Any test that fails means the program must be fixed so that it passes the test Failing tests need a new test row, ie 1a,1b, etc, showing corrections from original Write a program that calls a function calculateSum, which calculates the sum of numbers from -5 to N. The function calculateSum has one parameter N of type integer and returns the sum as an integer. Write another function calculateAverage that calculates the average of the summed numbers. This function will have two parameters: the sum (from calculateSum) and the number of items summed. It returns the average as a floating point number. The main function should be responsible for all input and output. Your functions will only calculate and retum the values and NOT print anything. N is provided by the user, user input must be asked for repeatedly until a non-negative integer is provided. Question 2 Write a program that prompts users to enter: A character to use (any character besides ) The width of the display The height of the display to produce an E shape. The middle horizontal line must print at line (height +1)/2. Validate user input to only be positive values and height must be at least 5 and width 2 . Any invalid input must loop until a valid value is entered. This is an example for width of 10 and height of 8 You must use separate functions to display the vertical and the horizontal lines. You must test both even and odd heights
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
