Question: use java to w rite a program , count two people playing n times games, randomly display two numbers, like a wins a timee ,b

use java to w rite a program , count two people playing n times games, randomly display two numbers, like a wins a timee ,b wins b times, a and b is ramdon ,and a+b =n , as the number of times both sides have won, and then the person who wins more is the winner .

how to do this ?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!