# The Binary Numbering System (base-2)

Every machine is an electronic system. in order to communicate with machines, the best way is to via electrical signals. Every electronic machine has a minimum of two signals i.e. “positive” and “negative”. Considering this as fundamental principles computers used binary to build their systems The Binary Numbering System is the most fundamental numbering system in all digital and computer-based systems. a binary number is … Continue reading The Binary Numbering System (base-2)

# Binary Triangle

Generate a Binary Triangle from the given number. Binary Triangle is a Triangle formed with 1’s and 0’s. The number of rows in the binary triangle is user input. example: 5 Rows Binary Triangle Solution: Continue reading Binary Triangle

# Convert Decimal to Binary (base -2)

Question: Write a C# program to convert any decimal number (base-10 (0 to 9)) into binary number (base-2 (0 or 1))? Answer: Decimal Number – 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.   Binary … Continue reading Convert Decimal to Binary (base -2)