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
galina1969 [7]
3 years ago
6

How to Create a while loop

Computers and Technology
2 answers:
Marta_Voda [28]3 years ago
6 0
While (condition) ( < > =< => = !+) 
{
    code block
<span>}

some think like this 

</span>
kap26 [50]3 years ago
4 0
For C/C++ , C# for while loop has the same layout. 

while ( /*condition*/ )
{
// TO DO
}
for e.g:

int main()
 {

int sum = 0, i = 0;

//While loop
while (i <= 100)
             sum += i++;

printf("Sum %d", sum);

getchar();

return 0;

}
This code will sum from 0 to 100 ( Sigma from x = 0 to 100 of x)


You might be interested in
Do the police check your mobile device during police checks?
JulsSmile [24]

They cannot legally check it without a warrant.


Depending on the circumstances of the arrest/check, and the method of seizure of the mobile device, you are subject to a certain set of rights, laws, or protections. First off, know that it is your right to decline the warrantless search of your mobile phone. If you are arrested or taken into police custody, you should verbally state that you do not consent to a search of your devices. A law enforcement agency is only permitted to conduct a warrantless search of your device if a compelling case for an emergency can be made.


If the authorities are using evidence obtained through an unlawful search of your mobile device against you in a criminal proceeding, you can move for that data to be suppressed under the Fourth Amendment right to freedom from incidental seizures.

4 0
3 years ago
Adding _______ around calculations indicates which calculations should be performed first before following the typical order of
Finger [1]

Adding parenthesis around calculations indicates which calculations should be performed first before following the typical order of operations. Correct answer: DThe order of operations is the order in which all algebraic expressions should be simplified is the following: First should be calculated expressions with parentheses, then exponents (and Roots) means power , then multiplication & Division and at the end Addition & Subtraction.

5 0
3 years ago
Read 2 more answers
Which type of work is an electrical engineer most likely to do?
yKpoI14uk [10]

Answer:

B

Explanation:

design and analyze electrical devices

7 0
3 years ago
If the task is to write firewall specifications for the preparation of a(n) ____, the planner would note that the deliverable is
Tpy6a [65]

Answer:

RFP

Explanation:

It is the type of document that is used to ask vendors to propose the solutions of problem that are faced by customer. It is the abbreviation of "Request for Proposal". This proposal is processed though the bidding, to offer the services or submit business proposals by vendors.

4 0
3 years ago
What is the difference of Information Technology to any other field of study?
Darya [45]

Answer:

The field of information technology, or IT, covers the support, administration, and design of telecommunications and computer systems. Some positions in this field include system analysts, software programmers, computer scientists, computer support specialists, and network and database administrators.

Explanation:

4 0
2 years ago
Other questions:
  • When you pass an array as an argument to a function, the function can modify the contents of the array?
    15·1 answer
  • When preparing images to be used for different mediums print web and video in photoshop different file formats are required , se
    13·1 answer
  • Current versions of windows support file names up to ________ characters long
    5·1 answer
  • Which audio format is used to create chiptunes?
    12·2 answers
  • A penetration testing manager is contributing to an RFP for the purchase of a new platform. The manager has provided the followi
    7·1 answer
  • Your boss (the IT director) wants to move several internally developed software applications to an alternate environment, suppor
    6·1 answer
  • 1. find the network address for 172.22.49.252/17
    7·1 answer
  • Adassadad saflalfaklfajfklajfalkfjalkfjalkfalkf
    6·2 answers
  • Which statement is true regarding Artificial Intelligence (AI)?
    13·1 answer
  • Describe the data update difference between operational and analytical data.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!