You are viewing a single comment's thread from:
RE: SLC21 Week2 - Programmin arrays
In question 4,
Did you mean this?
int k= rand()%101 * rand()%101 * rand()%101 + 500;
I see no modulus sign though in your question. Just want to confirm.
In question 4,
Did you mean this?
int k= rand()%101 * rand()%101 * rand()%101 + 500;
I see no modulus sign though in your question. Just want to confirm.
int k=(rand()%101) * (rand()%101) * (rand()%101)+500;
thanks, I fixed it - it should have been like that