Question: Question 3 ( 3 0 % ) use C + + Write your codes inside Q 3 function block that displays the star pattern as

Question 3(30%) use C++
Write your codes inside Q3 function block that displays the star pattern as shown below. The user input is an integer which determines the number of rows and columns in the pattern.
If the input integer is 0, negative or an even number, then your program should print the character 'E'(which represents error).
Even Version (even 6th digit in student ID)
More examples
\table[[Input,Output (Even Version)],[5,],[3,***,**
****,****
**,**
Question 3 ( 3 0 % ) use C + + Write your codes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!