Answer:
Explanation:Artificial intelligence (AI) is the ability of a computer or a robot controlled by a computer to do tasks that are usually done by humans because they require human intelligence and discernment.
Answer:
- Use the one that reads most clearly.
- If you can’t decide, just pick one.
- If you can’t then use for()
- If at any point later in time you change your mind, refactor your code.
This is how professionals work. Decide, and for all things with low impact to change, don’t sweat it.
Save that for architectural and API design choices.
Answer#2:
- Well if you are looking for a simple technique to choose which loop to use you can use these rules.
- Use for loops when there's a sequence of elements that you want to iterate.
- Use while loops when you want to repeat an action until a condition changes.
And if whatever you are trying to do can be done with either for or while loops then just choose your favourite :)
The answer is Earth. It says that Earth has a density<span> of 5.51 grams per cubic centimeter on Google, so I am just letting you know, this is from Google. Hope this helps, and good luck!!</span>