#include #include #include int generaterandomno(int n) { srand(time(NULL)); return rand() % n; } int greater