Question: Problem 3 : ASCII Art Build a PHP page that outputs a rounded rectangle with a bullseyethat looks like this: The symbols to use are:
Problem : ASCII Art
Build a PHP page that outputs a rounded rectangle with a bullseyethat looks like this:
The symbols to use are:
The upper left and lower right corners use this slash:
The upper right and lower left corners use this slash:
The upper edge uses dashes:
The lower edge uses underscores:
The right and left edges uses a pipe:
The middle uses a plus sign:
The number of rows and columns should come from a single variable it will be a square
No need to make it a form, just declare the variable in your PHP file. To make your life
easier, you only need to make it work if the number of rows and columns are an odd
number and greater than or equal to No need to validate the number, its ok if it fails with
an even number. For example, a square would look like this:
Ideally you can commit this in a new repository in your GitHub but it is not required.
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
