Answer:
#include <bits/stdc++.h>
using namespace std;
bool isPrime(int n)
{
for(int j=2;j<=n-1;j++) //loop to check prime..
{
if(n%j==0)
return false;
}
return true;
}
int main(){
int n;
cout<<"Enter the integer"<<endl;//taking input..
cin>>n;
if(isPrime(n))//printing the message.
{
cout<<"The number you have entered is prime"<<endl;
}
else
{
cout<<"The number is not prime"<<endl;
}
return 0;
}
Output:-
Enter the integer
13
The number you have entered is prime
Explanation:
The above written program is in C++.I have created a function called isPrime with an argument n.I have used a for loop to check if the number is prime or not.In the main function I have called the function isPrime for checking the number is prime or not.
Answer:
Employers are allowed to check the number of keystrokes that word processors enter during the day.
Explanation:
An employer is authorized to monitor the activity of its employee when:
- The employee authorizes it.
- The employer owns the system to be used.
- Surveillance is necessary for a strictly professional purpose.
By analyzing the keys pressed per day, the employer can determine the performance provided by its employees, and if they use the company's resources, for non-work purposes.
EOCS can be fixed locations, temporary facilities, or virtual structures with staff participating remotely is a true statement.
<h3>What is the Emergency Operations Centers (EOC)?</h3>
Emergency Operations Centers is known to be part of the four NIMS Command and Coordination structures as the EOCs are known to be used in an off site locations where staff are gotten from a lot of agencies that come together to address some imminent kind of threats and hazards.
Therefore saying that EOCS can be fixed locations, temporary facilities, or virtual structures with staff participating remotely is a true statement.
Learn more about EOCS from
brainly.com/question/10794095
#SPJ1
Answer:
Explanation:
Enthalpy is the measure of total heat present in the thermodynamic system where the pressure is constant. Entropy is the measure of disorder in a thermodynamic system.
Search engines. (I'm Misty btw if you want to know)