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
MrMuchimi
3 years ago
8

The operation of early electronic computing devices required:

Computers and Technology
1 answer:
Harrizon [31]3 years ago
5 0

Answer:

c

Explanation:

You might be interested in
Print either "Fruit", "Drink", or "Unknown" (followed by a newline) depending on the value of userItem. Print "Unknown" (followe
vagabundo [1.1K]

Answer:

I am writing a C++ program. Let me know if you want the program in some other programming language. Here is the portion of the code:

if((userItem == GR_APPLES) || (userItem == GR_BANANAS)){

 cout << "Fruit";   }

else if((userItem == GR_JUICE) || (userItem == GR_WATER)){

 cout << "Drink";  }

else{

 cout << "Unknown";  }  

cout << endl;

 

Explanation:

The IF statement is used to check the defined options with the value in the userItem.

If the value of the userItem is GR_APPLES OR GR_BANANAS then Fruit is printed as the output. || represents a logical operator OR so this means that userItem can be either the GR_APPLES or GR_BANANAS for the If condition to evaluate to true.

If the above condition evaluates to false then the else-if part will be checked next. So the else if checks if the value in the userItem is GR_JUICE or GR_WATER. If userItem contains either of these two then Drink is displayed on the screen as output.

If the else-if statement also evaluates to false then the else part is executed which displays Unknown.

The cout<< endl; statement in the last is used to print the new line. For example if the output is Unknown then it is followed by a new line.

In the given program userItem is set to GR_APPLES

GroceryItem userItem = GR_APPLES

So the output of the whole program is Fruit followed by a new line.

The screenshot of the code along with the output is attached.

7 0
4 years ago
If you change the aperture or shutter speed in aperture-priority (A) or shutter-priority (S) shooting modes why doesn't the imag
ELEN [110]

It's because it already knows.

It's because the camera knows that it is already dark or bright and will automatically choose a slower or faster shutter speed. You would not necessary have to fiddle with the camera settings at all. The camera will automatically set the shutter speed on its own. For example, while taking a picture in a darker corner of the room, the camera will choose a slower shutter speed.

5 0
4 years ago
PLEASE HELP, NEED THIS TURNED IN IN 20 MINUTES!!!!!! WILL GIVE BRAINLIEST!!!
ratelena [41]

Answer:

We cant help with that. Maybe give me more information?

5 0
3 years ago
To see a custom, object-specific action on the palette of the page layout editor: A. Click Layout Properties on the page layout
Masja [62]

Answer:

Select Mobile & Lightning Actions in the list of element types

Explanation:

Option B is correct Answer.

8 0
3 years ago
Part 1: Implement a superclass BankAccount that has the following fields and methods.
Alja [10]

Answer:

sorry idk

Explanation:

3 0
4 years ago
Other questions:
  • What are pixels that are the exact same between multiple frames called?
    15·1 answer
  • In terms of functionality and purpose, how does Nano compare to Server Core?
    10·1 answer
  • When you define a table's primary key, the dbms automatically creates a(n) _____ index on the primary key column(s) you declared
    14·1 answer
  • Give two reasons to break up
    11·2 answers
  • Which categories format cells
    14·2 answers
  • In the belt drive mechanism, what happens when the belt is crossed instead of open?
    14·1 answer
  • Thomas is getting ready for a presentation. His slides are set, and he's
    12·1 answer
  • VLSI is the process of creating an integrated circuit (IC) by combing thousands of transistors into a single chip. There are two
    11·1 answer
  • Pleasee telllllllllllllllllll​
    15·1 answer
  • Which is an advantage of using a flat file instead of a relational database?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!