Homework help for effecting elements in methods
My homework says:
"Write a method to gather the required input data (name and sale amount). Don't allow the user to enter a negative number for sales. There will be 2 array parameters in the method, one for names and one for sales, the method will return an array of sales. Hint: Use a do-while loop inside a for loop."
I don't know what she is asking me to do. I don't know how to effect a element in one method without it being public or returning it
2 Replies
⌛
This post has been reserved for your question.
Hey @Brawl! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
Post Closed
This post has been closed by <@577978536350973963>.