Results 1 to 3 of 3

Thread: เขียนแอสแซมบลี นำเลขมายกกำลังทำไงหรอครับ

  1. #1


    แบบว่ารับเลขเข้ามา 2 ตัวแล้ว เลขตัวแรกเป็นเลขฐาน เลขตัวที่ 2 เป็นเลขชี้กำลัง

    แล้วก็แสดงผลลัพธืออกมาอ่ะครับ

    ขอบคุณครับ
    :: นกไม่มีขน คนไม่มีเพื่อน จะขึ้นที่สูงนั้นยาก ::

  2. #2
    Senior Member
    Join Date
    Jul 2004
    Location
    Bangkok
    Posts
    187


    การยกกำลังคือการคูณกันตามจำนวนที่ยกกำลัง ก็เขียน for-loop คูณกันธรรมดาง่ายๆครับ ระวังเรื่อง over-flow ด้วย

  3. #3
    Junior Member
    Join Date
    Aug 2007
    Location
    Nagaoka, Niigata, Japan
    Posts
    22


    ลองดูเป็นตัวอย่างละกันนะครับ

    **Hidden Content: To see this hidden content your post count must be 5 or greater.**

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •