Skip to content

Amine-aichouba/Project_TP_ASDS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

               *      * * * * * * * * * * * * * * * * * *      *
              * *   * * ASDS TP Project Year: 2024/2025 * *   * *
            * * * * * *     ----------------------      * * * * * *
              * *   * *          ------------           * *   * *
               *      * * * * * * * * * * * * * * * * * *      *

I ~ Subprograms List :

        1 ~ Coding :       

                • Decimal to base b' { 2 , 8 , 16 , 32 , ... }                                                                                                                                                                                                                                          

        2 ~ Decoding :      

                • Base b' { 2 , 8 , 16 , 32 , ... } to Decimal                                                                                                                          

        3 ~ Transcoding :

                • Base b to Base b' /  b != b'      

                • Note: Do not forget to do the direct transcoding if b = ( b’ ) ^ n  

        4 ~ BCD Code :

                • BCD to Decimal                                                                                                                             
                • Decimal to BCD      

        5 ~ BCD+3 Code :      

                • BCD+3 to BCD                                                                                                                             
                • BCD to BCD+3 

        6 ~ Gray Code :                                                                                                                            

                • Gray to Binary                                                                                                                                                           
                • Binary to Gray    

        7 ~ Sum in Binary

                • Addition in Binary Code     

II ~ Main Program in C :

        1 ~ Read Number in Base b and Convert to Base b' :

                • Input : Number in base b
                • Output : Number in base b'

        2 ~ Add Two Numbers in Binary Code :

                • Input : Two Binary Numbers
                • Output : Sum in Binary and Decimal# NEW

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published