Question: Question 3 ( 3 0 % ) Write your codes inside Q 3 function block that displays the star pattern as shown below. The user

Question 3(30%)
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
IMPORTANT NOTE: Compare your program output with the sample display. There should
be NO? prompt messages for the input size and () additional blank lines in the output. DO
NOT add extra text in the output which will be considered as incorrect in marking.
Question 3 ( 3 0 % ) Write your codes inside Q 3

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!