Question: Let it store a word. For example it stores the word, hollywood. Create a program using for loop that prints all characters one at a

 Let it store a word. For example it stores the word,

Let it store a word. For example it stores the word, "hollywood". Create a program using for loop that prints all characters one at a time and between any two adjacent letters is a hyphen '-'. All letters are capitalized. For above word, "hollywood". The expected output is HOLLYWOOD

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!