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
garri49 [273]
3 years ago
8

Which type of loop is best if you do not know how many times you need the loop to run?

Computers and Technology
1 answer:
Alex3 years ago
5 0
While: <span> the loop must repeat until a certain "condition" is met.  If the "condition" is FALSE at the beginning of the loop, the loop is never executed.  The "condition" may be determined by the user at the keyboard.  The "condition" may be a numeric or an alphanumeric entry.  <span>This is a good, solid looping process with applications to numerous situations. 
</span></span><span>while:<span>int ctr = 1;
while (ctr < = 20)
{
     cout<< ctr++ <<"\n";
}

</span><span>
</span><span>
</span><span>HOPE i HELPED! brainliest? :D </span></span>
You might be interested in
Go follow me plz i would appreciate it
aleksandr82 [10.1K]
Hejdjxuxudjjdjdbdbdbd
6 0
3 years ago
Read 2 more answers
When installing a SATA hard drive, is it true or false that you need to move the jumpers on the back of the drive to instruct th
antiseptic1488 [7]

Answer:

This is false.

Explanation:

SATA drives do not have jumpers, because they don't use the master/slave feature. They are connected to the motherboard, and they are ready to work.

The master/slave feature was used by IDE hard drives.15 years ago, most motherboards didn't have too many IDE slots to place more than 1 or 2 HDDs, the IDE cable allowed you to connect 2 drives to 1 cable, greatly increasing your computer's storage space.

It was recommended to set as master the drive connected directly to the motherboard, and the other one as slave.

7 0
3 years ago
Digital information is stored using a series of ones and zeros. Computers are digital machines because they can only read inform
ryzh [129]
Is known as the binary system
8 0
3 years ago
Read 2 more answers
5. Question<br> Which one of these can connect directly to the Internet?
I am Lyosha [343]

Answer: Clients

Explanation:

A Client refers to a computer that is able to connect to a server usually in a network in order to access the services provided by that server.

When a user tries to access the internet, the Client accesses the relevant server and requests the information that the user is requesting. The server then sends this to the client which then formats it in the way that the user can understand. The client is thus the direct connection to the internet.

7 0
3 years ago
Which of the following would NOT be considered an agricultural pest?
Komok [63]
A dog laying amongst the crops would not be a pest, so the correct choice would be the first one.
4 0
3 years ago
Read 2 more answers
Other questions:
  • A consumer purchases an exploit from the dark web. The exploit targets the online shopping cart on a popular website, allowing t
    5·1 answer
  • What are the six peripherals of a computer system
    14·1 answer
  • HELP PLZZ FAST!!!!!
    10·2 answers
  • write a C program the prints out the size of variables with the following C data types- int, long, unsigned, long long, double,
    7·1 answer
  • Professional networking is important for strengthening your professional development. Discuss how reading, writing, and speaking
    15·1 answer
  • Assume user_name equals "Tom" and user_age equals 22. What is printed on the console when the following statement is executed? c
    14·1 answer
  • When creating a presentation in Libre Office Impress, where does the editing of slides take place?
    11·1 answer
  • How do design elements and color work together on a web page?
    15·1 answer
  • Match the image to the view type in a presentation program. scroll bar tool bar status bar menu bar provides an array of buttons
    10·2 answers
  • Learning is Fun
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!