Esta é a tabela de multiplicação 99 que eu memorizei quando criança. É a versão chinesa, não a versão digital, e foi impressa usando um programa Java.
O programa de origem Java é o seguinte:
pacote com.Elephant.multiply99Table; public class multiply99Table {public static string convert (int digit) {string [] digitwords = {"ten", "um", "dois", "três", "quatro", "cinco", "seis", "sete", "oito", "nine"}; if (dígito <10) retorna digitwords [dígito]; caso contrário, if (digit == 10) retorna digitwords [Digit / 10] + DigitWords [0]; caso contrário, retorne digitwords [Digit / 10] + DigitWords [0] + DigitWords [Digit % 10]; } public 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)? ":" obter ")+convert (i * System.out.print ((((i * j> 10)? "": "")); } System.out.println (""); // quebra de linha}}}Os resultados do programa são os seguintes:
One gets one gets one gets two gets three gets three gets four gets five gets five gets six gets seven gets seven gets eight gets nine gets two gets four gets eight gets five gets two gets six gets two gets eight gets five gets two gets six gets eight gets five gets two gets two gets six gets eight gets five gets two gets two gets two gets six gets two gets eight gets five gets two gets two gets two gets two gets two gets two gets two gets two gets two gets two gets two gets two gets three gets three gets three gets three gets three gets three gets three gets three Gets Three Gets Three Gets Three Gets Três Gets Três Gets Três Gotes Dois Gotes Três Gotes Três Gotes Dois Gotes Três Gotes Três Gotes Dois Gotes Três Gotes Três Gotes Três Gotes Tro Gotes Três Gets Três três Gots Três três Gots Três Gots Got Gots Gots Gots Gots Got Gots Got Got Got Got Got Got Got Got Got Gots Gots Three Gots Três Gets Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gots Três três Gots Três três Gots Três Gots Gots Gots Gots Gots Three Got Gots Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Gots Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Got Gots Three Gets três temas três temas três pegados Três Gets Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gotes Três Gets Três Gets Três Gotes Três Gotes Três Gets Três Gets Três Gets Gets Três Gets Três Gets Três Gots Gots Três Gots Gots Gots Gots Gots
O exposto acima é tudo sobre este artigo, espero que seja útil para todos aprenderem a programação Java.