Computer Science, asked by jyotybharatsoni, 6 days ago

write a program to accept a string and display it as many times as the user wants. ​

Answers

Answered by crazyscientist607
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