Bowling Game Project | Sololearn: Learn to code for FREE!
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

14th Oct 2021, 6:31 AM
Alexander Mitch
Alexander Mitch - avatar
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!!
14th Oct 2021, 6:52 AM
Aysha
Aysha - avatar
0
Post your code for more info
14th Oct 2021, 8:15 AM
Atul [Inactive]