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
storchak [24]
4 years ago
13

Write a program which prompts user to enter a character, if the user presses „Z‟, the program asks user to enter a number. In th

is 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"
Computers and Technology
1 answer:
wolverine [178]4 years ago
3 0
I’m pretty sure the answer is A
You might be interested in
If I delete the emoji free app will I still have the emojis on my phone?
egoroff_w [7]
<span>If you delete the Emoji application from your phone there is a possibility the Emoji's will still hang around. It all depends on the way you set up the app on your phone. Some people opt to have settings and changes to the app saved on their SD card and some don't. If you save updates and changes to the app to your SD card you will still have remnants on your phone after deleting the app</span>
5 0
4 years ago
Read 2 more answers
Write a program that could find whether the number entered through keyboard is odd or even the program should keep on taking the
natulia [17]

Answer:

using namespace std;

int main() {

int number;

while (1) {

 cout << "Enter a number: ";

 cin >> number;

 cout << number << " is " << ((number % 2) ? "odd" : "even") << endl;

};

return 0;

}

Explanation:

This is a c++ version. Let me know if you need other languages.

The (number % 2) is the essence of the program. It returns 0 for even numbers, and 1 for odd numbers (the remainder after division by 2).

7 0
4 years ago
Pls Help A table is a_______of rows and columns that provides a structure for presenting data​
WARRIOR [948]

Answer:

Graph or chart???

Explanation:

5 0
3 years ago
_______ data updates in your destination document if there are changes to the source data.
Lynna [10]
Linked or integrated
5 0
3 years ago
Which client software can be used to connect remote Linux client into a Palo Alto Networks Infrastructure without sacrificing th
Sati [7]

Answer:

GlobalProtect Linux

Explanation:

GlobalProtect Linux can be used to connect remote Linux client into a Palo Alto Networks Infrastructure without sacrificing the ability to scan traffic and protect against threats.

3 0
4 years ago
Other questions:
  • Which two jobs have high demand need for practitioners( have a skill shortage)
    13·1 answer
  • You have a hard disk that is formatted with the fat32 file system. you would like to implement file and folder permissions on th
    10·1 answer
  • Consider the following methods:
    10·1 answer
  • A difference between crt monitors and flat-panel displays is that most flat-panel displays use digital signals to display images
    8·1 answer
  • What problems have arisen regarding use of the Internet for global business transactions, and how are they being resolved?
    15·1 answer
  • The Account class contains a definition for a simple bank account class with methods to withdraw, deposit, get the balance and a
    14·1 answer
  • Knowledge and experience help you
    11·1 answer
  • What can the tab key do
    10·1 answer
  • When using the protection options in Excel 2016, what does the Protect Workbook function do?
    8·2 answers
  • When should you use an ELIF statement?<br> Edhesive
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!