Hello everyone, im new to programming and i need a little help.
I have to create a console program which shows a tennis scoreboard and functions as it would like any other tennis game.
eg. Player 1: 1 5 40
Player 2: 0 2 Ad
The program needs to be able to get input from the user, so when "1" is pressed, a point is allocated to player 1, and when "2" is entered a point is
allocated to player 2 in which the scoreboard is updated. So forth and so forth until a player has won the game at which the program displays the name of the winner.
Thanks a lot "yang", I really didnt expect such a quick reply. (or one at all)
One last Question.
What is considered as good logic in programming? Is it easy readability in the code for programmers? Is it efficiency in the code? What is it? My lecturer keeps going on about it but I still can't really get my head around it. Feel free to respond to this anyway you like EVERYONE.