-4

So I am creating a program that need to create as many strings and integers as the user says. The amount is stored in wordlength, and I need to create these strings programmatically based on the input. Can somebody help me?

1 Answers1

1

First, ask the user to input how many strings to store. This can be done through a Scanner. Then, make an array of type String with length equal to the user input number. Then, fill in the array through a Scanner with a for loop. I hope next time you search about you problem before you write a question about it.

mosemos
  • 61
  • 3