()
| 866 | return { question: `${a} × ${b}`, answer: String(a * b) }; |
| 867 | } |
| 868 | if (type === 3) { |
| 869 | const divisor = rand(2, 12), quotient = rand(3, 15); |
| 870 | const dividend = divisor * quotient; |
| 871 | return { question: `${dividend} ÷ ${divisor}`, answer: String(quotient) }; |
| 872 | } |
| 873 | if (type === 4) { |