- Clone the repository into your local system
- Download the extension "Run on Save" and enable it.
- Restart your VS Code.
- program1.md -- 20 Marks
- program2.md -- 20 Marks
The test script (test1.js
), (test2.js
) is designed to check the correctness of your programs. It imports the functions from the respective program files and performs tests using predefined input values.
- For Each program, there are 20 marks.
- Do not make changes to these files (
test1.js
), (test2.js
) - To run your program on local run the command:
node program1.js
node program2.js
- To Execute the test script by run the command:
npm run test1
npm run test2
- Review the test results for each program. If all tests pass, the programs are working correctly.
- Commit and push your code to the repository so that your test will be submitted.