Question: task 1 and 2 . C++ Lab work Task 1: Write a program that prints the following triangle shape: 1) Ask the user for the
Lab work Task 1: Write a program that prints the following triangle shape: 1) Ask the user for the width of the triangle. 2) Validate user entry (should be between 1 and 50). 3) Print and hold the output. Task 2 (320) Write a program that prints the following shape: 1) Ask the user for the width of the shape, 2) Validate user entry should be between 1 and 20). 3) Print and hold the output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
