Answer:
int count =0;
for(int i=0;i<10;i++)
{
if(myArray[i]>=0)
{
count++;
}
}
cout<<"Number of positive integers is "<<count<<endl;
Explanation:
The above written loop is for counting positive integers in the myArray[].
For counting we have taken a count integer initialized with 0.On iterating over the array if the element is greater than or equal to 0 we consider it as positive and increasing the count.At the end printing the count.
The era would help be more indicative but my guess is the internet?
<span>The Rex robot imitates the dinosaur
perfectly. In terms of its structure, the robot looks like a dinosaur, and this
is seen in the robot’s serrated teeth. To some extent, the robot imitates the
cheetah due to its speed ability.</span>
Atomic integers in Linux are useful when an integer variable needs to be updated.
<h3>What is an Atomic Integer?</h3>
This is known to be an applications that is said to be a form of an atomically incremented counters, and it is one which cannot be used as a kind of replacement for any Integer.
Therefore, Atomic integers in Linux are useful when an integer variable needs to be updated.
Learn more about Atomic integers from
brainly.com/question/20515314
#SPJ1