1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Sladkaya [172]
4 years ago
7

Algorithm for converting decimal into binary.

Computers and Technology
1 answer:
belka [17]4 years ago
7 0
The simplest way is to make for loop first you need to<span> generate 1,2,4,8,16,32,64,128,256....and others number in Array. Then you will check every number. Like this.</span>
<span>Decimal </span>Input 84;
64 is closest to 84.
84-64=20
<span>Write: </span>1
20-32=-12(Because It's negative you will write 0)
Write:10
20-16=4
<span>Write: </span>101
4-8=-4 (Negative)
Write:1010
4-4=0
<span>Write: </span>10101
0-2=-2
0-1=-1
<span>Write: </span><span>1010100 = 84</span>
You might be interested in
People should never use telepresence when virtually meeting with a group of co-workers. True False
VashaNatasha [74]
False- it is very common for someone to use telepresence to meet with coworkers.
5 0
3 years ago
Read 2 more answers
after installing a secondary hard drive what needs to be done to the hard drive and what do these two task do?
elena55 [62]
HEY heheh ehehhegeeh
3 0
4 years ago
Which key prevents movement between cells in a spreadsheet?
Natasha_Volkova [10]

The Scroll Lock key - Most of the time on the keyboard it is abbreviated ScrLK, or Scroll Lock.

8 0
3 years ago
6. Which of the following menu commands would you select to make a copy of an open file and rename it?
nadya68 [22]
"Save as" command allows you to save a copy of an open file and rename it whatever you like.
8 0
3 years ago
Read 2 more answers
You are in charge of five software development projects. The ‘characteristics’ of each of your projects are as follows:
Tasya [4]
Pano po gagawen Jan?
8 0
3 years ago
Other questions:
  • Which of these is important to consider before believing health or fitness information you find online? Where the information wa
    5·2 answers
  • Create the logic for a program that calculates and displays the amount of money you would have if you invested $5000 at 2 percen
    13·2 answers
  • Write a program that will use user input. The program should be called PrintNumberToWordie which prints "ONE", "TWO",..., "FIVE"
    9·1 answer
  • Why is statistics important for business professionals in many career fields?
    13·2 answers
  • What is the danger of open-source software when it comes to military robotics?
    13·1 answer
  • How to delete Brainly account ?​
    12·1 answer
  • A(n) ___ is a set of CPUs which work in parallel in an attempt to simulate the way the human brain works, although in greatly si
    5·1 answer
  • An engineer has reported that a printer is no longer working and needs troubleshooting. You have been informed that there is a p
    9·1 answer
  • _____ drives are storage drives that contain both solid-state storage and hard disks in an attempt to gain the speed and power o
    13·1 answer
  • What is the destination ip address when an ipv4 host sends a dhcpdiscover message?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!