Post on 22-Mar-2016
description
Exercises:
1. Write a program that asks the users to type in a string,and then tells the user how long that string was.2. Ask the user for a string, and then for a number. Print outthat string, that many times. (For example, if the string isHELLO and the number is 3, you should print outHELLOHELLOHELLO .)3. What would happen if a mischievous user typed in a wordwhen you ask for a numb? Try it.