The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Test Document
By Guest on 9th July 2023 10:53:17 AM | Syntax: TEXT | Views: 597



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. C++ Program to convert Decimal to Binary
  2.  
  3. We can convert any decimal number (base-10 (0 to 9)) into binary number (base-2 (0 or 1)) by C++ program.
  4. Decimal Number
  5.  
  6. Decimal number is a base 10 number because it ranges from 0 to 9, there are total 10 digits between 0 to 9. Any combination of digits is decimal number such as 223, 585, 192, 0, 7 etc.
  7. Binary Number
  8.  
  9. Binary number is a base 2 number because it is either 0 or 1. Any combination of 0 and 1 is binary number such as 1001, 101, 11111, 101010 etc.



  • Recent Pastes
  • Test.php
    1 year 23 weeks 6 days 23 hours 14 mins and 7 secs ago
  • Javascript sample
    1 year 23 weeks 6 days 23 hours 14 mins and 7 secs ago
  • Java Sample
    1 year 23 weeks 6 days 23 hours 14 mins and 7 secs ago
  • Test Document
    1 year 23 weeks 6 days 23 hours 14 mins and 7 secs ago
  • PHP Sample
    1 year 23 weeks 6 days 23 hours 14 mins and 7 secs ago