Question is Write a function that will use a RNG to obtain 300 integer values between 32 and 126. The value and the corresponding ASCII character, its predecessor and its successor are printed.
What I have.
void findrandom()
{
int high=126;
int low=32;
int random, i, pred, succ;
double num;
char charval;