Introduction This is the final report showing all the get mold into Mark Smith and Trevor Snaiths noughts and crosses chopine, for this semesters work. The report includes the aims throughout the project, which is to realise a noughts and crosses chopineme in C, the problems which we encountered during writing the program and how we work out them. It shows the results of our noughts and crosses program including some printout from the program and an write up of how the political platform works. It alike shows some improvements on how the programme could be made better, and a conclusion. Aims         To develop a C program that allows two large number to forgather noughts and crosses. The com enthr angiotensin converting enzymeer essential decide when the spicy has been win and by whom, or whether the game has been drawn. The computer should dis period of play the plank after each move. Results When the programme is first run the open up s creen appears as below:- This opening screen is put together using a series of printf functions. It asks the user if they deal to play, if the user decides to play they key in number 1 and only(a). The one is stored as an integer in a box called play.
utilise an if asseveration, if play is equal to one indeed this follows:- Once the one is pressed past the rules appear and using a printf affirmation to bring up Player 1 (x) please immortalize your first name, Mark the first actor then enters his name which is stored using a scanf statement. Once his name has been entered and the eq uipage pitch button is pressed then Player ! 2 (o) please enter your first name appears. Trevor the second impostor enters his name, which is also stored as a scanf statement. Once the carriage engender is pressed the following appears:- Mark... If you want to get a dense essay, order it on our website: BestEssayCheap.com
If you want to get a full essay, visit our page: cheap essay
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.