Java Code:
import java.math.*;
public class main {
public static void main(String[] args) {
int kante = 9;
double flaeche = 0;
flaeche = Math.sqrt( 3 ) / 4 * kante;
System.out.println( "Fläche: " + flaeche );
}
}
PHP Code:
?php
$kante = 9;
$flaeche = 0;
$flaeche = sqrt( 3 ) / 4 * $kante;
echo( 'Fläche: ' . $flaeche );
?
This entry was posted on Jul 07, 2006 at 11:05:37 and is filed under PHP & Java. You can follow any responses to this entry through the RSS 2.0 feed, or leave a response (below) .
Bisher keine Kommentare für diesen Eintrag...
Kommentare sind für diesen Beitrag geschlossen.