Question: Assianment 5 Problem 1: Write a program that inputs a word and a justification then, using nested loops, displays a pattern based on the letters

Assianment 5 Problem 1: Write a program that inputs a word and a justification then, using nested loops, displays a pattern based on the letters in that word as shown in the following sample runs Please enter a word: motorcycle Justification (L Left, R-Right ) ? L mmmu Please enter a word: butterflies Justification (L Left, R Right? r HINT: For right justification, you'll need a loop to print spaces before the loop that prints characters in each row muni
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
