Skip to content

Commit c49cef2

Browse files
committed
toan_tu php
1 parent 0655c03 commit c49cef2

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

Bien.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
$old = 21 ;
77
echo "ten: $name <br>";
88
echo "*************";
9-
echo "dia chi:$address <br>";
9+
echo "dia chi:$adress <br>";
1010
echo "************";
1111
echo "tuoi: $old <br>";
1212
echo "**************";

toan_tu.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title></title>
5+
</head>
6+
<body>
7+
<?php
8+
$a = 5 ;
9+
$b = 6 ;
10+
$tong = $a + $b ;
11+
12+
$hieu = $a - $b ;
13+
14+
$thuong= $a / $b ;
15+
16+
$tich = $a * $b ;
17+
18+
echo " tong cua $a + $b = $tong <br>";
19+
20+
echo "hieu cua $a - $b = $hieu <br>";
21+
22+
echo "thuong cua $a / $b =$thuong <br>";
23+
24+
echo "tich cua $a * $b = $tich <br>";
25+
?>
26+
</body>
27+
</html>

0 commit comments

Comments
 (0)