Bonjour,
Le programme suivant :
me donne l'erreur suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 var reponse : char; begin write('Voulez-vous continuer ? ( o / n ) : '); readln (reponse); if (reponse='o' or reponse='O') then begin write('Bonjour !'); end; end.
Quelqu'un pourrait-il m'aider ?Error: Operation "or" not supported for types "Char" and "Char"
Merci d'avance.
Partager