Guessing a number (Fortran)

This program will randomly pick a value and the user is prompted to enter their guess. It will keep counting your number of attempts to reach the value stored by the system. The lower the number of guesses you have, the better guesser you are or your algorithm is better.

To run the program:

Screen Shot 2016-10-27 at 4.54.33 PM.png

You can play with the program and try to modify it to learn more. Let’s see how many attempts you need!

Program: guess.f (by Cedric Legendre IES, Academia Sinica)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s