diff --git a/helloworld1.php b/helloworld1.php index 5af7fc2..ed30d34 100644 --- a/helloworld1.php +++ b/helloworld1.php @@ -12,4 +12,4 @@ - \ No newline at end of file + diff --git a/helloworld2.php b/helloworld2.php index ede1aa7..8245f09 100644 --- a/helloworld2.php +++ b/helloworld2.php @@ -1,3 +1,12 @@ + 100) + $nb = null; +} else + $nb = null; +?> + @@ -7,9 +16,7 @@ - \ No newline at end of file + diff --git a/helloworld3.php b/helloworld3.php index 1182084..978afae 100644 --- a/helloworld3.php +++ b/helloworld3.php @@ -1,3 +1,18 @@ + 100) { + $error = true; + $nb = null; + $name = null; + } +} +?> + @@ -5,14 +20,6 @@ Hello World 3 -
@@ -21,17 +28,17 @@
+ + Invalid args ! + + - \ No newline at end of file + diff --git a/helloworld4.php b/helloworld4.php index 2fd8344..745c6fe 100644 --- a/helloworld4.php +++ b/helloworld4.php @@ -1,3 +1,39 @@ += 0 AND $q <= 9963) + $t = $income*0 - 0*$n; +elseif ($q <= 27518) + $t = $income*0.14 - 1394.96*$n; +elseif ($q <= 73778) + $t = $income*0.3 - 5798*$n; +elseif ($q <= 156243) + $t = $income*0.41 - 13913.69*$n; +elseif ($q >= 156244) + $t = $income*0.45 - 20163.45*$n; + +$t = round($t); +echo $q; +?> + @@ -5,20 +41,7 @@ Hello World 4 - -
+
@@ -27,29 +50,7 @@
- = 0 AND $q <= 9963) - $t = $income*0 - 0*$n; - elseif ($q >= 9964 AND $q <= 27518) - $t = $income*0.14 - 1394.96*$n; - elseif ($q >= 27519 AND $q <= 73778) - $t = $income*0.3 - 5798*$n; - elseif ($q >= 73779 AND $q <= 156243) - $t = $income*0.41 - 13913.69*$n; - elseif ($q >= 156244) - $t = $income*0.45 - 20163.45*$n; - - $t = round($t); - - ?>

Your taxes is

- \ No newline at end of file +