we are working with functions andn I've declared the function at the top...but I'm not sure what to actually out in it.
We have to flip the sentence backwards... like say
I love cats.
we need to output to the user:
.stac evol I
can anyone help me??
User Profile
Collapse
-
flipping a line of text backwards.
-
Thank you...that helpes -
HELP! storing values into an array
I need to store 25 different values (1, 5, 10, 25 etc. theres no pattern) in an array and then when the user picks a number q through 25 one of those values (randomly not the same one every time) needs to be chosen.
I know that I need to Create a new array, initialize them all to a sentinel value, get a random number between 0 and 24, and move the first to that value. If it's not the sentinel, it's been set, get another random value(and... -
how would I do this code wise?
liek I understand the new array but I need help with the moving slotsLeave a comment:
-
randomizing set values in an array
We're writing a program that similates the show deal or no deal. So we have 25 SET values in an array and every time we restart the program those values need to be randomly placed into those twenty-five slots...does anyone know how to do that?
No activity results to display
Show More
Leave a comment: