New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Bowling Game Project
So I have a project where either Player 1 or Player 2 wins. we need to determine who wins based off 3 separate user based number inputs and compile them into the final score, then it will determine who wins and who lost. The problem for me is that I don't know how getting 3 separate number inputs for each player works, can someone explain this to me.... This is using compound statements... Java btw Edit: I'm doing this by scratch out of Sololearn and I haven't gotten far into the java course to check it
2 Answers
+ 2
The code already have input statements which fetches the input from test case. Also have addplayer method in that code. You only need to have method for who gets win as winplayer method. Try it once again!!
All the best!!
Happy Coding!!
0
Post your code for more info