samedi 22 septembre 2018

Java program to print a string pattern

if the input string is "ADMINISTRATIONS" the pattern should be like this A DM INI STRA TIONS

The last row should be completely filled

if the input string is "COMPUTER" the pattern should be like this C OM PUT ER**

the incomplete last row should be filled with *

Help me to solve this.

Aucun commentaire:

Enregistrer un commentaire