Skip to content

MahmoudAdelbghany/Infinite_monkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

🐒 Monkey Typewriter Simulator

The infinite monkey theorem says a monkey smashing keys forever will eventually type anything—even Shakespeare.

But what about a specific sentence like "Hello, World!"? Turns out, it doesn’t need infinite time—just some time. So, I wrote this C++ code to find out exactly how much!

What Does It Do?

  • The monkey types random ASCII characters. 🐵
  • Through sheer chaos (and patience), it eventually types your sentence!
  • It even tells you how long it took (in monkey years, months, days...).

Why?

Because... why not?

⚠️ Warnings

  • Might take forever for longer sentences. Like, "heat death of the universe" forever.
  • Monkeys aren’t this fast IRL.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages