A C++ program that revolves around the concept of a normal cricket match in which user can input numbers from 1-6. The computer in response generates a random number from the same set of numbers. If the numbers of both the user and the computer are ascertained to be identical, then the one currently batting is declared out, otherwise the runs keep stacking up until the total balls are finished.
Software required: C++ complier