appi
❔ User inputs & arrays.
I am having the user input a max amount of values to store and using that input as my array length.
I am then having the user input that amount of values individually.
EX: User inputs 5, then inputs 1, 2, 3, 4, 5
I am trying to limit the amount of inputs to the max value inputted by the user.
Everything I have tried so far allows the user to input more than the max amount they specified and I get Out of Range error.
Anyone have a link to some documentation or some advice?
I would prefer not to be outright told the answer.
21 replies
❔ Homework Help... Again... Chars and Conditional Statements
Hi, for this problem, I am given a char, starter, and an int, number.
I have to find the subsequent characters based on the value of number and return them as a string.
For example:
starter is g
number is 5
return is ghijk
I would prefer just help with where to go from what I have right now, and would appreciate it if I am not outright given the answer.
13 replies