mardi 27 septembre 2016
    1. Program Max3;
    2. Var a, b, c, maxi : Integer;
    3. Begin
    4. Writeln ('Saisir trois entiers : ');
    5. Readln (a, b, c) ;
    6. maxi := a ;
    7. If b>maxi Then maxi := b;
    8. If c>maxi Then maxi := c;
    9. Writeln ('La plus grande valeur est : ', maxi);
    10. End.

0 commentaires:

Enregistrer un commentaire

Page Facebook

Turbo Pascal 32 bits

Turbo Pascal 64 bits