From 3d69f9529b5e2fb6add10b9576a43eb5bb4630cf Mon Sep 17 00:00:00 2001 From: virajsharma2000 Date: Wed, 24 Sep 2025 21:39:16 +0530 Subject: [PATCH] fixed grammar --- Projects/1-Beginner/Dec2Bin.md | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/Projects/1-Beginner/Dec2Bin.md b/Projects/1-Beginner/Dec2Bin.md index 6a6a644f..a17224b7 100644 --- a/Projects/1-Beginner/Dec2Bin.md +++ b/Projects/1-Beginner/Dec2Bin.md @@ -1,13 +1,37 @@ +# Dec2Bin + +**Tier:** 1-Beginner + +Binary is the number system all digital computers are based on. +Therefore it's important for developers to understand binary numbers, or base 2 mathematics. +The purpose of Dec2Bin is to provide practice and understanding of how binary calculations work. + +Dec2Bin allows the user to enter integers and displays its binary equivalent + +This challenge requires that the developer implementing it follow these constraints: + +- Only integer datatype is allowed as the input. +- The binary of a particular integer in the string must be calculated using a single mathematical function. It's up to the uer to figure out which function to use. +- Only strings are allowed as the output binary + ## User Stories -- [ ] User can enter any integer except -- [ ] User must be notified if 0 or 1 was entered using validation error. +- [ ] User can enter any integer. +- [ ] User must be notified if 0 or 1 was entered as a part of validation error. - [ ] User views the results in a single output field containing the binary (base 2) equivalent of the decimal that was entered -@@ -34,7 +34,7 @@ constraints: + +## Bonus features + +- [non-numeric charecters to binary] We can give option to a user to convert a group of non-numeric charecters to binary by encoding to ascii or unicode +- [click here for ascii information](https://en.wikipedia.org/wiki/ASCII) +- [click here for unicode information](https://en.wikipedia.org/wiki/Unicode) + +## Useful links and resources + [Binary number system](https://en.wikipedia.org/wiki/Binary_number) ## Example projects - [decimal to binary program geeks for geeks] (https://www.geeksforgeeks.org/dsa/program-decimal-binary-conversion/) -# HAPPY CODING!! \ No newline at end of file +# HAPPY CODING!!