X

كود جدول الضرب

AutoPlay Media Studio and Generate All In One Tutorials

 
  • Filter
  • Time
  • Show
Clear All
new posts
  • عبد الهادي بهاب
    Thread Author
    Free Membership
    • Nov 2018 
    • 181 
    • 81 
    • 43 

    السلام عليكم

    في زر ضع الكود التالي



    PHP Code:
    bahab ="";

    for 
    x=1,6,do
    ala="";

    for 
    i=x,x+4,do
     for 
    p=1,10 do
     
    ala ala .. .. " x " .. .." = " .. i*.."      " ..  i+.. " x " .. .." = " .. (i+1)*.. "     " ..   i+.. " x " .. .." = " .. (i+2)*.. "     " ..   i+.. " x " .. .." = " .. (i+3)*p  .. "     " ..   i+.. " x " .. .." = " .. (i+4)*p.."\r\n";
     
    end
    end
    bahab 
    bahab ..ala.."\r\n".."\r\n".."\r\n";
    end

    Dialog
    .Message("bahab elhadi ",bahab); 
  • Saadedin
    Administrator
    • Sep 2018 
    • 35715 
    • 18,360 
    • 2,790 

    #2
    يتبع:
    Originally posted by عبد الهادي بهاب
    جدول الجمع



    PHP Code:
    bahab ="";

    for 
    x=1,6,do
    ala="";

    for 
    i=x,x+4,do
     for 
    p=1,10 do
     
    ala ala .. .. " + " .. .." = " .. i+.."      " ..  i+.. " + " .. .." = " .. (i+1)+.. "     " ..   i+.. " + " .. .." = " .. (i+2)+.. "     " ..   i+.. " + " .. .." = " .. (i+3)+p  .. "     " ..   i+.. " + " .. .." = " .. (i+4)+p.."\r\n";
     
    end
    end
    bahab 
    bahab ..ala.."\r\n".."\r\n".."\r\n";
    end

    Dialog
    .Message("bahab elhadi ",bahab); 
    Comment
    • Saadedin
      Administrator
      • Sep 2018 
      • 35715 
      • 18,360 
      • 2,790 

      #3
      يتبع:
      Originally posted by عبد الهادي بهاب
      جدول الطرح



      PHP Code:
      bahab ="";
      bahab ="";

      for 
      x=1,6,do
      ala="";

      for 
      i=x,x+4,do
       for 
      p=1,10 do
       
      ala ala .. .. " - " .. .." = " .. i-.."      " ..  i+.. " - " .. .." = " .. (i+1)-.. "     " ..   i+.. " - " .. .." = " .. (i+2)-.. "     " ..   i+.. " - " .. .." = " .. (i+3)-p  .. "     " ..   i+.. " - " .. .." = " .. (i+4)-p.."\r\n";
       
      end
      end
      bahab 
      bahab ..ala.."\r\n".."\r\n".."\r\n";
      end

      Dialog
      .Message("bahab elhadi ",bahab); 
      Comment
      • ميدو حسن
        Free Membership
        • Sep 2018 
        • 353 
        • 32 
        • 20 

        #4
        شكرا جزيلا
        Comment
        Working...
        X