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
In video game development, the person who oversees and directs the entire design team and is the key vision keeper is
Sav [38]

Answer:

The Lead Designer

Explanation:

The Lead designers main role is to oversee how a game looks and is played. They manage a, normally small, design team. They work with them to come up with many aspects of the game itself like; characters, props, and plots to the game. they also, makes sure that the team itself stays on track, is within budget, and meets the designated deadlines.

3 0
2 years ago
The analog computer deals directly with
marta [7]

continuously variable aspects of physical phenomena such as a electrical, mechanical etc.

4 0
3 years ago
Read 2 more answers
Question
polet [3.4K]

Answer:

ARP is a simple query–response packet protocol used to match workstations hardware addresses to IP addresses. In other words, ARP is the protocol used to identify nodes in a LAN. ARP is described in RFC 826

5 0
2 years ago
ummmm I"m bored out of my skull right now, and my boredom is about to kill me, so if anyone wants to save my skull and fix my bo
Alecsey [184]

Answer:

lol bro me too XD

Explanation:

we could play 21 questions? XD hope your day gets better :P

7 0
3 years ago
Read 2 more answers
You are to write a program that will input a number between 1 and 99. The number will represent the change from a transaction. Y
xxMikexx [17]

Answer:

Explanation:

public class Exercise50 {

    public static void main(String args[]) {

 System.out.println("\nDivided by 3: ");  

 for (int i=1; i<100; i++) {

  if (i%3==0)  

  System.out.print(i +", ");    

 }    

   

 System.out.println("\n\nDivided by 5: ");

 for (int i=1; i<100; i++) {

  if (i%5==0) System.out.print(i +", ");    

 }

   

 System.out.println("\n\nDivided by 3 & 5: ");    

 for (int i=1; i<100; i++) {

  if (i%3==0 && i%5==0) System.out.print(i +", ");    

 }

 System.out.println("\n");

3 0
2 years ago
Other questions:
  • Extend the flow properties and definitions to the multiple-source, multiple- sink problem. Show that any flow in a multiple-sour
    13·1 answer
  • To help determine which technology to use, Raul creates a table to help him compare the pros and cons of his choices. What part
    15·1 answer
  • 1. of the following individuals, who was the most recent to develop information searching tools online? (points : 1) otlet wells
    5·1 answer
  • Y’all think Super Drags is good?
    8·1 answer
  • What do people in japan use to make anime
    5·1 answer
  • Different between internet and email​
    5·1 answer
  • 1
    13·1 answer
  • Atheel tests a program and gets a NameError. How can this be fixed?
    13·2 answers
  • If a person communicates indirectly and attaches little value to
    6·1 answer
  • The technologist has recorded the red cell morphology as macrocytic. which mcv value would confirm this observation?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!