1 / 7

Automating "The Number Game" in C Programming

Explore the theory behind "The Number Game" and learn how to automate the guessing process with a C program. Understand the data, algorithms, and implementation for computing machines using decimal numbers.

floresj
Download Presentation

Automating "The Number Game" in C Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Number game

  2. The Number Game (1)

  3. The Number Game (2)

  4. The Number Game (4)

  5. The Number Game (8)

  6. The Number Game (16)

  7. Analysis • What is theory /concept behind this game? • How did I arrive at the number you guessed? • How can I automate this process? • What is the data and what is the algorithm? • How can we convey these to a computing machine? • While a computer talks binary, we humans write programs in languages such as Java, C#, C++, Basic etc. Binary numbers (1’s and 0’s) is the number system used by the computer systems. We humans use decimal number system that has 10 distinct symbols (0,1,2,3,4,5,6,7,8,9) Your task: Write a C program to computerize this game.

More Related