It's neat organized and ready to find when needed
Answer:
#include <iostream>
using namespace std;
int main()
{
int myArray[] = {-11,3,-8,30,-2,0,5,7,-100,44};
int n = sizeof(myArray)/sizeof(myArray[0]);
for(int i=0;i<n;i++){
if(myArray[i]>=0){
cout<<myArray[i]<<endl;
}
}
return 0;
}
Explanation:
First include the library iostream in c++ programming for using the input/output function.
Then, create the main function and define the array with the elements which contain both positive element as well negative elements.
after, use the for loop for traversing the array and inside the loop take the conditional statement for check if element in the array is positive.. if it true then print the element on the screen with separate line.
Answer:
UTILITY PROGRAM
Explanation:
Utility program are program that perform routine processing function such as sorting and merging. They are often used by auditors to performs a very specific task, usually related to managing system resources. It contain a number of utilities for managing disk drives, printers, and other devices.
Utility program also performs specific task related to the management of computer functions, resources, password protection, memory management, virus protection, and file compression.
The answer is D. Only student B is correct. Student A is incorrect because static electricity can be detected through the principle of electrostatic induction, which will indicate if there are static electricity on the surface of an object. A device which can detect static electricity is an electroscope. Moreover, for student B, it is correct that the cause for electric current to flow is the uniform flow of free electrons.
Answer:
Answer = 25-17
print("25-17", Answer)
Explanation:
You put the sum into a variable which in this case would be Answer and then you can output it with the question.