#include #include #include main() { srand((unsigned)time(NULL)); int a; a = rand() % 6 + 1 ; printf("%d\n", a) ; }