![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 09.07.2019 22:10 jcbballer
Write a program which prompts user to enter a character, if the user presses „z‟, the program asks user to enter a number. in this case the program implements 5-input majority voting logic which is explained as follows. the value of the number represented by the five leftmost bits of register-b is tested. if the number of logic '1' bits (in the 5 leftmost bits) is greater than the number of logic '0' bits, the program should output: "the number of 1’s in the 5 left most bits is greater than the number of 0’s". if the number of logic '0' bits (in the 5 leftmost bits) is greater than the number of logic '1' bits, the program should output: "the number of 0’s in the 5 left most bits is greater than the number of 1’s"
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 16:30, saintsfan2004
How to do this programming flowchart?
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 05:30, lolololol21
Cómo pongo un tomo de llamada sin pagar?
Answers: 1
You know the right answer?
Write a program which prompts user to enter a character, if the user presses „z‟, the program asks u...
Questions in other subjects:
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 14.06.2020 02:57
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mkx.png)
Arts, 14.06.2020 02:57
![Konu](/tpl/images/cats/obshestvoznanie.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 14.06.2020 02:57
![Konu](/tpl/images/cats/mat.png)