write a program to accept a string and display it as many times as the user wants.
Answers
Answered by
1
Answer:
Input : str = "This is demo string"
char = i,
count = 3
Output : ng
Input : str = "geeksforgeeks"
char = e,
count = 2
Output : ksforgeeks
Hope this helps!!!
Similar questions