Answer:
While loops are typically used when you don’t know how many times the loop needs to repeat. The body of the loop will repeat while the condition is true. The logical expression will be evaluated just before the body of the loop is repeated.
Let’s say that we want to find the square root of a number. For some square roots, you’re never going to be exact. Let’s say that we want to find a square root that, when multiplied by itself, is within 0.01 of the square we want. How do we do it? There’s a really old process that we can apply here.
Start by guessing 2.
Compute the guess squared.
Is the guess squared close to the target number? If it’s within 0.01, we’re done. We’ll take the absolute value of the difference, in case we overshoot. (In Python, abs is the absolute value function.)
If it’s not close enough, we divide the target number by our guess, then average that value with our guess.
That’s our new guess. Square it, and go back to Step #3.
Explanation:
An appropriate use of social media includes: C. having thought-provoking debates.
<h3>What is
social media?</h3>
Social media refers to a collection of Internet software applications which are designed and developed so as to avail end users an ability to add, share and discuss different information, as well as enhance collaboration and debates between community members over the Internet.
In this context, we can logically deduce that having thought-provoking debates and making constructive posts are appropriate use of social media.
Read more on social media here: brainly.com/question/25546524
#SPJ1
Answer:
The answer to this question is "C++ functions can't return array type value".
Explanation:
In C++ language the method is a collection of declarations executing a process together. It is a statement, that tells the compiler to return and accept parameters of a function. In C++, it includes many standardized functions, which can be called by the software, and other choices were wrong, which can be described as follows:
- In c++ function can't return array type always.
- function is not address based.
- If array is local to function, but function will not return array value.
Answer:
The user must specify the programming language he or she wants to use.
Explanation:
Answer:
consumer-to-consumer auction site
Explanation:
The best type of purchase for this scenario would be a consumer-to-consumer auction site. These sites allow anyone to make a publication selling their product. This publication can be seen by anyone around the world. It is the best way of finding the cheapest prices for a specific item. The condition of the items on these sites can vary. The majority of the time they are used items in good conditions, but can also be new items or very worn out items being sold for parts.