Answer:
Expensive is not always better
Explanation:
So I build 2 computers ok
Computer 1: Price 1,999$
<u>Whats Included:</u>
- Antivirus
- Anti-Over-Heat
- Windows 8 Operating Software
- Free VPN (For Life)
- 24/7 Support
- 1 year warranty
- 3/5 Star Reviews | Main Review Type: Parts Breaking Inside
Computer 2: Price 799$
<u>Whats Included:</u>
- Anti Virus
- Anti Over-Heat
- 1 Year Warranty
- Windows 10 Operating Software
- 24/7 Support
- 10 Year Warranty
- 4/5 Star Reviews | Main Review Type: Runs Smooth
- No VPN
<h2>So Computer 2 Has better reviews and a 10 year warranty over computer 1's 1 year warranty</h2>
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.
It can be a letter, stationery , or any types of template containing the information that you want to send to the vendor or to the customer.
the documents should contain special field codes that you insert which names and addresses reference will be replaced with the information from the data source