hi i need help figuring out how to find the a random friend to text, i must input a seed ex. 21, 42, 101. . . but i can only input a number of 5 friends. how can i do both at the same time? i need help. and after i find the random friend then i must ouput the friends that did not get picked. this is what i have so far and i think i am in the right track. please help me thank you.
With the picked name, you need to return the num that you get using random mechanism.
So that you can skip printing name at that index but print the entire string array otherwise.
Also, the name "integers" for array of strings is confusing, name it something like... "names"?
There are other considerations as well, for one the program is not going to work if the user enters 7 for num_of_names, the array can hold only 6 names.
i only want to input 5 names. how can i make it work if i input a number like 101
21,42,101 are called seed numbers in the program i am trying to complete... so i am still stuck :/
please show me an example. of how everything should be layed out please. i am confused. . .so when i make string *names, do i also add the "=" new string []??