หน้าเว็บ

วันอาทิตย์ที่ 29 กรกฎาคม พ.ศ. 2555


4.1 ให้นักเรียนเขียนโปรแกรมรับชื่อ นามสกุล เมื่อรับชื่อและนามสกุลแล้วให้แสดงกล่องโต้ทักทายว่าสวัสดี ตามด้วยชื่อที่รับมา
<html>
          <head>
          <script language="javascript">
          <!--
          var  n;
          var  s;
          n=prompt("input your name");
          s=prompt("input your s_name");
          alert("hello "+n+s);
         </script>
</head>
</html>


4.2 ให้นักเรียนเขียนโปรแกรมหาพื้นที่สี่เหลี่ยมผืนผ้า และแสดงผลการหาค่าทางกล่องตอบโต้

 <head>
          <script language="javascript">
          <!--
          var  w;
          var  h;
          n=prompt("please fill in the width");
          s=prompt("please fill in the heigh");
          alert("area of a rectangle = "+0.5+a*b);
         </script>
</head>
</html>

วันพุธที่ 25 กรกฎาคม พ.ศ. 2555

<html>
          <head>
          <script language="javascript">
          <!--
          var a;
          var b;
          a = prompt("input numberfor plus");
          a = parselnt(a);
          a = prompt("input numberfor plus");
          a = parselnt(b);
if (a > b)
        {
                 b=a-b;
                 alert(b);
        }
else
       {
                 b=a+b;
                 alert(b);
       }
       </script>
       </head>
</html>



เด็กชายกิตธนัช   หอมสมบัติ  เลขที่  25  ม.3/5

วันจันทร์ที่ 23 กรกฎาคม พ.ศ. 2555

ประวัติส่วนตัว


เด็กชายกิตธนัช   หอมสมบัติ  เลขที่  25  ม.3/5
อายุ 15 ปี กรุ๊ปโลหิตกรุ๊ป O
เกิดวันศุกร์ที่ 14 เดือนมึนาคม พ.ศ.2540
ที่อยู่บ้านเชือก บ้านเลขีท่ 73 หมู่ 3 ต.นาจิก อ.เมือง จ.อำนาจเจริญ
โทรศัพท์ 0837337914