Professional Documents
Culture Documents
#Include #Include Using Namespace STD Int Main (Int M Srand (Time (NULL) ) Cout Rand %6 System ("Pause") )
#Include #Include Using Namespace STD Int Main (Int M Srand (Time (NULL) ) Cout Rand %6 System ("Pause") )
#include <time.h>
using namespace std;
int main()
{
int m;
srand(time(NULL));
cout << rand()%6;
system("pause");
}