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.
Although a user directory is treated as a file, it is flagged to indicate to the file manager that this file is really a subdirectory whose records are filenames that point to files.
Answer:Conversion disorder
Explanation:Its a mental condition that affects the nervous system.
Answer:
The offset
Explanation:
In the question, we understand that the original text is HELLO and the encrypted text is OLSSV.
It should be noted that O replaced H, L replaced E, S replaced L and V replacement O.
This is made possible by a term refered to as offset.
The offset is used to determine the character that will replace another when it is encrypted.
7 characters after H is O; this is same for every other characters in the text.