#include <iostream>
using namespace std;
void repeat_char(char c, int n){
if(n == 0) return;
cout<<c;
repeat_char(c, n-1);
}
int main()
{
int n;
char c;
while(cin>>c>>n){
repeat_char(c, n);
}
return 0;
}
Subscribe to:
Post Comments (Atom)
All rights reserved||Using Deluxe Template By Klodian
No comments:
Post a Comment