Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //fpc 3.0.0
- program licorn;
- var
- name : string;
- age : byte;
- choice : byte;
- begin
- writeln('salut quelle est ton nom');
- readln (name);
- writeln('bonjour ',name);
- writeln('ok quelle est ton age');
- readln (age);
- if age < 18 then
- begin
- writeln('ok aurevoir petit ');
- readln;
- end
- else
- begin
- writeln('ah tu es pas si petit');
- writeln('tu vas choisir entre 3 numero');
- writeln('chaque numero correspond a une monture et bien sur le choix des monture se fait a l aveugle');
- writeln('aller choisit 1|2|3|');
- readln (choice);
- if choice = 1 then
- begin
- writeln('tu as choisit le renard');
- readln;
- end;
- if choice = 2 then
- begin
- writeln('tu as choisi le meilleur BRAVO tu as la licorne gilet jaune');
- readln;
- end;
- if choice = 3 then
- begin
- writeln('tu as choisit la licorne bonnet rouge');
- readln;
- end;
- if choice > 3 then
- begin
- writeln('tu te fous de moi alors tu as la licorne pantalon gris ');
- readln;
- end;
- end;
- end.
Add Comment
Please, Sign In to add comment