SarthakKeshari / calc_for_everything

This repository aims to provide Calculators for educational, professional, scientific, health and well-being and other purposes.
https://calc-for-everything-psi.vercel.app
MIT License
113 stars 104 forks source link

Decimal/2421 code convertor #237

Closed Upadhyay-Harshit closed 1 year ago

Upadhyay-Harshit commented 1 year ago

Enter calculator name -

Decimal/2421 code convertor

Describe calculator functionality -

It is an unnatural BCD code. Sum of weights of unnatural BCD codes is equal to 9. It is a self-complementing code. Self-complementing codes provide the 9's complement of a decimal number, just by interchanging 1's and 0's in its equivalent 2421 representation.

Under which category you wish to place it -

Upadhyay-Harshit commented 1 year ago

Kindly assign this issue to me

SarthakKeshari commented 1 year ago

Hey @Upadhyay-Harshit, Assigned.

You may contribute your code under the folder path -

calc_for_everything\calculators\src\computer_science\dec2421CodeConverter

Issue completion deadline - 12th Oct 5:00:00 pm IST

NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant