Question: Your task is to write pseudocode for a function named CSS _ positions ( n 1 , n 2 , n 3 ) that takes
Your task is to write pseudocode for a function named CSSpositionsnnn that takes parameters from the user:
n: number of items in row
n: number of items in row
n: number of items in row
The function should calculate the coordinates for each of the rectangular elements. Your code should:
Check to make sure that the user hasn't asked for too many elements in a row. The function must output a unique error message if there are too many elements in a row.
Place px of spacing in between rectangular elements and in between rows, but not add spacing at the beginning and end of the row.
Output the coordinates of the rectangular elements somewhere in the pseudocode.
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
