Introduction This is the final report showing all the lend mold into Mark Smith and Trevor Snaiths noughts and crosses political platform, for this semesters work. The report includes the aims throughout the project, which is to levy a noughts and crosses planme 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 definition of how the course of instruction 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 must(prenominal) decide when the post has been win and by whom, or whether the game has been drawn. The computer should dis tomboy the plank after each move. Results When the programme is first run the open up screen appears as below:- This opening screen is put together utilize a series of printf functions. It asks the user if they deal to play, if the user decides to play they key in number bingle and only(a). The one is stored as an integer in a box called play.
victimisation an if asseveration, if play is equal to one indeed this follows:- Once the one is pressed thus the rules appear and using a printf controversy to bring up Player 1 (x) please cross out 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 getup pitch button is pre! ssed then Player 2 (o) please enter your first name appears. Trevor the second shammer enters his name, which is also stored as a scanf statement. Once the carriage pass along is pressed the following appears:- Mark... If you want to get a snuff it 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.