Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ ONLY!!! PLEASE ANSWER QUESTION THEN FILL OUT THE TABLE WITH DIFFERENT INPUT! Prompt the user for a character and the height of a right

C++ ONLY!!! PLEASE ANSWER QUESTION THEN FILL OUT THE TABLE WITH DIFFERENT INPUT! image text in transcribed
image text in transcribed
Prompt the user for a character and the height of a right triangle. Then, print a right triangle of that height using the character entered, with the exact general shape as shown in the example. Validate that the height entered is >1. If not, ask the user repeatedly for a new height until they comply. Hint: Use nested loops After reading the question requirements, but before beginning any coding, create the test case table, below, completed through column Expected Output. Write your program then complete the test table with actual output results and include in your report, AFTER your source code - Every branch, loop, and output message should be tested. - Test for ID10T user input Copy/Paste your completed source code. You must always include standard "comment header" in your programs, even if code is provided. Run all tests in your test plan - If a test produces expected output, type that output into Actual Output column and enter Pass in final column - If a test doesn't produce expected output - If it's because you didn't understand what the computer would produce/do, then correct the expected output and complete test row as above - If it's because there was a logic/semantic error in your program, enter Fail, create a new test row (5a if test was 5). correct your program, test again - Include your completed test plan after source code - Paste in a snippet of output showing results for every listed test case, labeled with test \# Test Table

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

7. Define cultural space.

Answered: 1 week ago

Question

8. Describe how cultural spaces are formed.

Answered: 1 week ago