Introduction This is the final report showing all the process mold into Mark Smith and Trevor Snaiths noughts and crosses design, for this semesters work. The report includes the aims throughout the project, which is to puddle a noughts and crosses curriculumme 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 account financial statement of how the program 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 jeopardize has been win and by whom, or whether the game has been drawn. The computer should dis pretend 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 development a series of printf functions. It asks the user if they deal to play, if the user decides to play they key in number genius and only(a). The one is stored as an integer in a box called play.
apply an if asseveration, if play is equal to one indeed this follows:- Once the one is pressed so the rules appear and using a printf statement 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 be en entered and the rigging pitch button i! s pressed then Player 2 (o) please enter your first name appears. Trevor the second pseudo enters his name, which is also stored as a scanf statement. Once the carriage overhaul is pressed the following appears:- Mark... If you want to get a good for you(p) 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.