Hey I am looking to figure out how to make it so a randomly generated # is within the range of another randomly generated number i.e.
households[dex].family_size = rand() % 7;
households[dex].tested = rand() % 7;
households[dex].positive = rand() % 7;
households[dex].tested = rand() % 7 cant be higher than households[dex].family_size = rand() % 7 & households[dex].positive = rand() % 7 cant be higher than households[dex].tested = rand() % 7.
Aucun commentaire:
Enregistrer un commentaire