Skip to content

cst1201-d644/SquareDisplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

SquareDisplay

Write a program that asks the user for a positive integer no greater than 15. The program should then display a square on the screen using the character ‘X’. The number entered by the user will be the length of each side of the square. For example, if the user enters 5, the program should display the following:

XXXXX
XXXXX
XXXXX
XXXXX
XXXXX

If the user enters 8, the program should display the following:

XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX

Please follow these steps:

  1. To start, fork the repository.
  2. Clone the repository to your computer.
  3. Modify the files and commit changes to complete your solution.
  4. Push/sync the changes up to GitHub.
  5. Create a pull request on the original repository to turn in the assignment.

About

A program that displays a square on the screen using the character ‘X’.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published