dimanche 17 janvier 2021

Java word box pattern

I'm trying to create a box pattern that takes a word as an input and prints it out as a box.

I have got the top, bottom, and left-hand side to work but I'm unsure how to do the right-hand side.

More specifically I don't know how to make the system output the word starting from the final letter in the top line.

Does anyone have any ideas? enter image description here

Aucun commentaire:

Enregistrer un commentaire