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.
2.5 is a float.
Float stands for floating point. Floating point types are numbers with decimal places. I hope this helps!
The best and most correct answer among the choices provided by the question is the second choice. <span>Siltstone is made mostly of silt. </span>I hope my answer has come to your help. God bless and have a nice day ahead!
Answer:
I think the answer would be A.
Explanation:
If I'm wrong plz let me know (I think I may be wrong)
Software problem.
Assuming "Software" is one of the available answers.