덤 .
~cpp
#include <iostream> // 덤는 iostream .
#include <ctime> // time(0) .
using namespace std;
int main()
{
srand(time(0)); // rand() .
// 면 마 만듭. -_-;;
int x = rand(); // rand()는 덤 를 리는 .
// 리는 범는 0 ~ 무무 .
int x1 = rand() % 10; // % 10 면 x1 는 10 머 는
// 0 ~ 9 덤 들.
int x2 = rand() % 9 + 1; // % 9를 면 0~8 들
// 1 더면 1~9 됩.
return 0;
}










