Question: Question 3 ( 3 0 % ) Write your codes inside Q 3 function block that displays the star pattern as shown below. The user
Question
Write your codes inside Q 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 negative or an even number, then your program should print the
character Ewhich represents error
Even Version even digit in student ID
More examples
IMPORTANT NOTE: Compare your program output with the sample display. There should
be 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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
