I'm struggling to align my '*" perfectly. I have made an multi dimensional array that will intilize each element to "*" and then I want to out put that in a certain way. As you guys can read my function here, on row 10, row 11,row12, row 13, my "*" become distorted from the previous rows. For instance this is what it looks like
As youcan see that from row 10-13, the stars suddenly shift one unit to the right. I want all the stars to be perfectly aligned so any help would be preferred :)Thank you guys :)
As always this is off the cuff and probably won't work first time, but the magic is using a for loop, initialise it to the length of your row name, and print spaces until it is equal to the longest row name...