pull/326/merge
Hao Ren 2 years ago committed by GitHub
commit f3e1700b10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ and 1's, in any sequence and then displays its decimal equivalent.
This challenge requires that the developer implementing it follow these This challenge requires that the developer implementing it follow these
constraints: constraints:
- Arrays may not be used to contain the binary digits entered by the user - Arrays may not be used to contain the binary digits entered by the user.
- Determining the decimal equivalent of a particular binary digit in the - Determining the decimal equivalent of a particular binary digit in the
sequence must be calculated using a single mathematical function, for sequence must be calculated using a single mathematical function, for
example the natural logarithm. It's up to you to figure out which function example the natural logarithm. It's up to you to figure out which function
@ -21,13 +21,13 @@ constraints:
## User Stories ## User Stories
- [ ] User can enter up to 8 binary digits in one input field - [ ] User can enter up to 8 binary digits in one input field.
- [ ] User must be notified if anything other than a 0 or 1 was entered - [ ] User must be notified if anything other than a 0 or 1 was entered.
- [ ] User views the results in a single output field containing the decimal (base 10) equivalent of the binary number that was entered - [ ] User views the results in a single output field containing the decimal (base 10) equivalent of the binary number that was entered.
## Bonus features ## Bonus features
- [ ] User can enter a variable number of binary digits - [ ] User can enter a variable number of binary digits.
## Useful links and resources ## Useful links and resources

Loading…
Cancel
Save