How to solve all Challenges
Testing Challenges
Challenge #1
Challenge #2
Challenge #4
Challenge #5
Challenge #6
Challenge #7
Challenge #8
Challenge #9
Challenge #10
Challenge #11
Challenge #12
Challenge #13
Other Links
Solve all Challanges
Hall of Fame
Who Built This
Testing Challenge #11 - Algorithm inconsistency
Instructions for this challange
Which of the statements bellow conflict? (please also have a look over the
diagram
)
You can add in the field a maximum of 12 characters.
You can add numbers (0 to 9), commas or dot (commas are for thousand and million separator and the dot is used as decimal separator).
You can have or not thousand and million separators.
Thousand and million separator have to be used in the same time, if it is the case. (you cannot use in a million number just thousand separator e.g. 1256,678.34 will considered invalid)
The price can have maximum 2 decimals.(if there are more the number will be considered invalid; eg 1,345.342 will be considered invalid))
If there is no value after the decimal separator the separator will be eliminated ( eg. 345,234. will be considered as 345,234)
The ones I selected are inconsistant