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 4 Test plan for this question is only done once, for any of the three loops, but source-code for all three must be submitted Generate a random number, R, with value ranging from 5 to 15 (both inclusive). Then 1. Using a for loop, ask the user for R integers ranging from -100 to 100 then print their sum. 2. Repeat step1, using a while loop 3. Repeat step 1, using a do-while loopStep 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