subject
Mathematics, 09.10.2019 00:00 unicornsflyhigh

Write a program that reads a 4-bit binary number from the keyboard as a string and then converts it into decimal. for example, if the input is 1100, the output should be 12. (hint: break the string into substrings and then convert each substring to a value for a single bit. if the bits are b0, b1, b2, and b3, the decimal equivalent is 8b0+ 4b1+ 2b2+ b3.)

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 22:20
Factor the polynomial. b^2 + 4b + 4
Answers: 2
question
Mathematics, 22.06.2019 00:30
Which ordered pair is a solution of the equation? 2x+3y=10
Answers: 1
question
Mathematics, 22.06.2019 00:30
Hi i’m not sure how to do question 20 if u could explain how to do it that’d b great
Answers: 1
question
Mathematics, 22.06.2019 00:30
(i really need ) read the story problem, and then answer the questions that follow. gordon works for a graphic design firm and is creating a label for a food truck vendor. the vendor specializes in finger food and wants to sell food in right conical containers so that they are easy for people to hold. to complete his label, gordon needs to collect several different measurements to ensure that the label he designs will fit the surface of the container. gordon has been told that the containers have a diameter of 4 inches and a height of 6 inches. part a: find the slant height of the cone. the slant height is the distance from the apex, or tip, to the base along the cone’s lateral surface. show your work. part b: find the measure of the angle formed between the base of the cone and a line segment that represents the slant height. part c: imagine two line segments where each represents a slant height of the cone. the segments are on opposite sides of the cone and meet at the apex. find the measurement of the angle formed between the line segments.
Answers: 1
You know the right answer?
Write a program that reads a 4-bit binary number from the keyboard as a string and then converts it...
Questions
question
Biology, 14.01.2020 15:31
question
Mathematics, 14.01.2020 15:31
question
Mathematics, 14.01.2020 15:31
question
Mathematics, 14.01.2020 15:31