Thread Anfänger Frage Taschenrechner: Erstellung einen Taschenrechners Anfänge (44 answers)
Opened by ASDS at 2007-01-29 12:57

renee
 2007-01-29 19:50
#73793 #73793
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Mach noch aus:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
for ( $formula = <STDIN>)
{
chomp($formula );
printf("Ihre Formel lautet, %s !\n",$formula ); ## Ausgabe mittels Zeichenkette
#@array = split(/\s+/,$formula );
#for (my $i = 0; $i < @array; $i++)
#{
# print "@array[$i] \n"; ## Ausgabe der jeweiligen Positionen im Array
#}

}


das hier:
Code: (dl )
1
2
3
$formula = <STDIN>;
chomp($formula );
printf("Ihre Formel lautet, %s !\n",$formula ); ## Ausgabe mittels Zeichenkette


dann sollte es passen...
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Anfänger Frage Taschenrechner: Erstellung einen Taschenrechners Anfänge