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 14:30
If anyone has done the algebra 2 chaos theory portfolio would you be wiling to me? i kind of know what i'm doing i just don't know if i'm doing it right.
Answers: 1
question
Mathematics, 21.06.2019 17:00
This figure consists of a rectangle and semicircle. what is the perimeter of this figure use 3.14 for pi 60.84m 72.84m 79.68m 98.52m
Answers: 2
question
Mathematics, 21.06.2019 19:00
Will give brainliest plz hurry lexie surveyed 4 teenagers to find out approximately how many hours, per week, they read for fun, and how many siblings they have. brooke said she reads about 10 h a week for fun, and that she has 5 siblings. celia said she has 1 brother and 1 sister and reads for fun about 3 h each week. henry said he has 2 brothers and reads for fun about 30 min each week. jude said he doesn't read for fun and has 3 brothers and 3 sisters. use this information to complete the data table. express your answers as whole numbers or decimals. name hours of fun number of siblings brooke celia __ henry jude
Answers: 2
question
Mathematics, 21.06.2019 20:20
Consider the following estimates from the early 2010s of shares of income to each group. country poorest 40% next 30% richest 30% bolivia 10 25 65 chile 10 20 70 uruguay 20 30 50 1.) using the 4-point curved line drawing tool, plot the lorenz curve for bolivia. properly label your curve. 2.) using the 4-point curved line drawing tool, plot the lorenz curve for uruguay. properly label your curve.
Answers: 2
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
Mathematics, 14.04.2021 21:40
question
English, 14.04.2021 21:40
question
Mathematics, 14.04.2021 21:40
question
Mathematics, 14.04.2021 21:40
Questions on the website: 13722360