testing-repository/cpp/xeinit8.cpp

13 lines
193 B
C++

#include <iostream>
#include <cstdio>
#include <cstdlib>
int main(int argc,char *argv[])
{
int x;
srand((unsigned)time(NULL));
x=rand();
std::cout<<x%100<<" "<<x<<std::endl;
return 0;
}