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
Computers are used to store, retrieve, and _____ data. manipulate mechanize memorize operate
likoan [24]

Answer:

manipulate

Explanation:

idk because it seems right

7 0
3 years ago
Translate function f into RISC-V assembly language. Assume the function declaration for g is int g(int a, int b). e code for fun
Shkiper50 [21]

Answer:

int f(int a, int b, int c) {

return func(func(a, b), c);

}

f: addiu $sp, $sp, -8 # allocate frame = 8 bytes

sw $ra, 0($sp) # save return address

sw $a2, 4($sp) # save c

jal func # call func(a,b)

move $a0, $v0 # $a0 = result of func(a,b)

lw $a1, 4($sp) # $a1 = c

jal func # call func(func(a,b),c)

lw $ra, 0($sp) # restore return address

addiu $sp, $sp, 8 # free stack frame

jr $ra # return to caller

4 0
3 years ago
Okay all the people that make other people cry leave me alone got it good
skelet666 [1.2K]

Answer:

YESSS

Explanation:

So many people have made me cry!!

8 0
3 years ago
For a windows labtop what is the best way to save power when the computer will not be used for an extended period
rjkz [21]

Answer:

Put the Computer to sleep or hibernate Mood

Explanation:

The best way to save power when the computer will not be use for an extended period is to put the computer to sleep or hibernate mood depending on the OS (Operating System) you are using.

For instance in windows 10, all you need do is to Press the Windows key on the keyboard, then click on Sleep.

3 0
3 years ago
How is science and technology used in the society​
Molodets [167]

Answer: science and technology

Explanation:

The essence of how science and technology contributes to society is the creation of new knowledge, and then utilization of that knowledge to boost the prosperity of human lives.

4 0
3 years ago
Other questions:
  • Frank works for an organization that wishes to install a software program on a single server with multiple users connected. Whic
    8·1 answer
  • What 2 major agricultural inventions did jethro tull create?
    10·2 answers
  • Iisa is creating a resume in which section should she mention her career goals
    6·1 answer
  • Build a state diagram for the “book” based upon the following information of the library.
    6·1 answer
  • Which option marks all modification made within a document? Review Comment Track Changes Balloons
    15·2 answers
  • While saving her word-processed academic documents, Ashley includes the subject, title, and the author's name in the properties.
    7·1 answer
  • In python:
    8·1 answer
  • Cuales fueron las consecuencias que creo el storm worm (gusano storm, el informatico)??
    5·1 answer
  • Which is the most correct option regarding subnet masks?
    10·1 answer
  • Everyone say bye to brainly cause I’m reporting it for being against the law
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!