﻿
#include <iostream>
#include <stdlib.h>     // srand, rand
#include <time.h>       // time

int main()
{
    // initialize random seed
    srand(time(NULL));
    while (1) {
        std::cout.width(2);
        std::cout << rand() % 10;
    }
}

