Untitled

 avatar
unknown
plain_text
a year ago
315 B
4
Indexable
//домашка
#include <iostream>
#include <cmath>
#include <windows.h>
using namespace std;
int main()
{
    int n;
    cin >> n;
    int o = (pow(10, n) - 1)+2;
    int i = o;
    while (o > (pow(10, (n - 1)) + 2)){
        i--;
        o -= 2;
        cout << o << endl;
    }
    return 0;
}
Editor is loading...
Leave a Comment