Skip to main content
The National Cipher Challenge

Reply To: Programming

A Tale of 2 Secrets Forums T.E.M.P.E.S.T. Programming Reply To: Programming

#107489
ByteInBits
Participant

As this thread is about programming I will post some tasks.

Write code to solve the following:

A number is chosen at random from the first 100 positive integers.
What is the percentage probability that the chosen number is not divisible by 3, 4, or 7?

Post your code and show its output

Report a problem