Solution to the problem number 369 of AceptaelReto - 369.

Any questions do not hesitate to contact.

#include <iostream>
using namespace std;

int main()
{
    int numero=-1;
    do
    {
    cin >> numero;
    if(numero!=0)
    {
    for(int i=0; i< numero; i++)
        cout<< "1";
    cout << "\n";
    }
    }
    while(numero!=0);
    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!