Drop links or images here to add them to the editor.

Opdracht

Gegeven een natuurlijk getal.

Schrijf een programma dat het antwoord is op de vraag “Bestaat het ingevoerde getal uit exact 3 cijfers?”.

Een mogelijke aanpak

Het programma …

Invoer

Eén natuurlijk getal.

Uitvoer

Eén woord.

Voorbeeld 1

Invoer

123

Uitvoer

DRIE

Voorbeeld 2

Invoer

53

Uitvoer

NIET (!) DRIE