freeCodeCamp/curriculum/challenges/arabic/08-coding-interview-prep/rosetta-code/babbage-problem.arabic.md

855 B

title id challengeType videoUrl localeTitle
Babbage problem 594db4d0dedb4c06a2a4cefd 5

Description

undefined

Instructions

undefined

Tests

tests:
  - text: ''
    testString: 'assert(typeof babbage === "function", "<code>babbage</code> is a function.");'
  - text: ''
    testString: 'assert.equal(babbage(babbageAns, endDigits), answer, "<code>babbage(99736, 269696)</code> should not return 99736 (there is a smaller answer).");'

Challenge Seed

function babbage (babbageNum, endDigits) {
  // Good luck!
  return true;
}

After Test

console.info('after the test');

Solution

// solution required