هذا هو جدول الضرب 99 الذي حفظته عندما كنت طفلاً. إنه الإصدار الصيني ، وليس الإصدار الرقمي ، وتم طباعته باستخدام برنامج Java.
برنامج مصدر Java كما يلي:
package com.elephant.multiply99table ؛ الفئة العامة multiply99table {سلسلة ثابتة عامة تحويل (int digit) {string [] figitwords = {"ten" ، "one" ، "اثنين" ، "ثلاثة" ، "أربعة" ، "خمسة" ، "ستة" ، "سبعة" ، "ثمانية" ، "تسعة"} ؛ إذا (الرقم <10) إرجاع الكلمات [رقم] ؛ وإلا Else Return Digitwords [Digit / 10] + Figitwords [0] + figitwords [Digit ٪ 10] ؛ } main static void main (string [] args) {for (int i = 1 ؛ i <= 9 ؛ i ++) {for (int j = i ؛ j <= 9 ؛ j ++) {system.out.print (convert (i)+convert (j)+((i * j> = 10)؟ system.out.print (((i * j> 10)؟ "": "")) ؛ } system.out.println ("") ؛ // line break}}}نتائج تشغيل البرنامج كما يلي:
واحد يحصل واحد يحصل على واحد يحصل اثنان يحصل على ثلاثة يحصل على ثلاثة يحصل على خمسة الحصول على خمسة الحصول على ستة يحصل على سبعة يحصل على ثمانية يحصل على ثمانية يحصل على تسعة يحصل على أربعة يحصل على خمسة يحصل على خمسة يحصل على ستة الحصول على ستة الحصول على اثنين يحصل على ثمانية الحصول يحصل ثلاثة من الحصول على ثلاثة يحصل على ثلاثة يحصل على ثلاثة يحصل على ثلاثة الحصول على ثلاثة gots 3 gots ثلاثة gots اثنين من gots ثلاثة gots ثلاثة gots اثنين من gots ثلاثة gots ثلاثة gots ثلاثة gots اثنين Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Three Gots Three Three Gots Three Gots Three Gots Three Gots test Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three Gots Three
ما سبق هو كل شيء عن هذا المقال ، آمل أن يكون من المفيد للجميع تعلم برمجة Java.