Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Coding C++ on visual studio with mac For each question: Specify the question number even if code is provided. Do Not paste a snippet of
Coding C++ on visual studio with mac
For each question: Specify the question number even if code is provided. Do Not paste a snippet of your source code, it must be copy/pasted the test case table, below, completed through column Expected Output. Include in your report. o o Source code. Copy/Paste your final source code. You must include standard "comment header" o Initial test plan. After reading the question requirements, but before beginning any coding, create o Final test plan. Write your program then complete the test table with actual output results and include in your report AFTER your source code Output results. Paste in a snippet of output showing results for every listed test case in your final test plan, labeled with test case # o Test Table: Test Pass Fail Test Valid/ Description of test Input Value Expected Output Actual Output Invalid Data 4 o o o o o o 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 o Failing tests need a new test row, ie la, lb, etc, showing corrections from original Question 3 Run the following code and explain, using your own words, what is happening with each variable (w,x.y.z) and what is the difference between --x and w-- is there any influence on the result between prefix or postfix - operator?). Provide a snippet of the output. int main) int w = 20, x 20; int y = 5, z-5; z = z + (w-); coutStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started