Loading [Contrib]/a11y/accessibility-menu.js
Back
Close

PHP MasterMind

Anonymous
1,449 views

Dialog

A program can not be executed without providing some informations to the user.

An elegant way to do it would be to use a function taking a message as parameter, displaying it to the user with some formatting.

Here are some hints, but you really should try to find by yourself.

Hints

Click to see some hints

To display some informations, you can use PHP built-in functions such as:

Solution

Click to see a way to implement it
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants