31203

31203



Edfted by Foxit PDF Editor

Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n Onły.

KONSTRUKCJA IF-THEN-ELSE

#    last modificution: 15.11.2008

#    prosi o podanie liczby print "Podaj liczbę: " ;

#    sczytuje podany tekst $ licz ba = <STDIN>;

if ($licxba < 10)

{print "liczba < 10\n" ;} elsif ($liczba > 10)

{print "liczba > 10\n" ;} else

{print "liczba = 10\n" ;}

#    prosi o podanie nazwy uczelni print "Podaj nazwę uczelni:

#    sczytuje podany tekst $nazwa = <STDIN> ; chomp ($nazwa);

if ($nazwa ne "Uniwersytet przyrodniczy") {print "zle\n" ; } else

{print "dobrze\n" ; }



Wyszukiwarka

Podobne podstrony:
Edited by Foxit PDF Editor Ostatn Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatto
Edited by Foxit PDF Editor Analizy genJ Copyright (c) by Foxit Software Company, 2003 - 2009 For Eva
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company., 2003 - 2009 For Evaluation Only
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatłon Onły.
Edited by Foxlt PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluation Only.
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n
WSTĘP Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluation
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n On
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n On
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n On
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n On
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n On
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n On
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n On
Edited by Fo)dt PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n On
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n On
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluatk>n On
Edited by Foxit PDF Editor Copyright (c) by Foxit Software Company, 2003 - 2009 For Evaluation Only.

więcej podobnych podstron