you want someone to write you the whole code for your homework? You know Java syntax. You can do it.
lol
I mentioned earlier that I'm new to this.
So... Google Java syntax yourself. People here won't spoonfeed you the whole solution. I gave you the logic for it. You can figure the rest out yourself. If you don't understand anything about the logic or if you're stuck at the syntax, you can ask again. Don't just copy paste your assignment and expect the whole solution. You don't learn anything that way. Go look up ways to do what I wrote. Open the Java documentation. Learn the syntax.
Обсуждают сегодня