Skip to content

smstudio2008/Technical-Challenge-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Kata - Roman Numerals

Usage

To convert a roman numeral through this function, run the NODE APP and pass it a number as an argument:

const generateNumber = function (InputNumber) {

	if (numberRange(InputNumber) && dataValidation(InputNumber)) {

		return 'Please provide a number between 1 and 3999';

	} else {
		return converterAlgorithm(InputNumber);

	}
}

Example

Change this function (generateNumber(34));

run npm install

run node app

Will output: XXXIV

Test suite

To run the test: install dependencies and run the NPM test script:

npm install
npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published