Discuss the below:
Q1. Write a program that ask the user for starting value and an ending value and then writes all the integers (inclusive) between those two values
Sample output:
Enter Start:
5
Enter End:
9
5 6 7 8 9
Q2. Write a program that ask the user to enter a word. The program will then repeat word for as many time as it has characters:
Sample output:
Enter a word:
Hello
Hello
Hello
Hello
Hello
Hello