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.
Some examples of environmental technology is recycling.
Different video files and operating system versions can cause compatibility issues to arise between computer systems.
Since, file formats and operating systems may not be compatible with each other. For example, earlier versions of Windows may not be able to play certain types of video files due to the codecs used to encode them.
<h3>Importance of compatibility between operating system computer systems</h3>
Compatibility between operating systems is important because it allows different computer systems to interact and share resources. This includes sharing of programs, files, and data.
Compatibility also allows users to access applications and services on different platforms. It also enables efficient use of hardware and software resources, as well as efficient use of resources in a network. Compatibility also ensures that computer systems can communicate with each other and can access the same resources. Without compatibility, it would be difficult for computer systems to interact with each other.
What are two compatibility issues that may arise between computer systems while transferring presentations? (Fill in the blank).
Different video files and _____ can cause compatibility issues to arise between computer systems.
Learn more about Compatibility between operating systems:
brainly.com/question/24760752
#SPJ4
Answer:
if(y==10)
{
x=0; // assigning 0 to x if y equals 10.
}
else
{
x=1; // assigning 1 to x otherwise.
}
Explanation:
In the if statement i have used equal operator == which returns true if value to it's right is equal to value to it's left otherwise false.By using this operator checking value of y and if it is 10 assigning 0 to x and if it is false assigning 1 to x.