#include #include int main(){ char str[50]; int i,num; printf("Please enter a string: "); gets(str); printf("Please enter the number of times you want to display: "); scanf("%d",&num); for (i=0;i