Answer:
Code is given below and output is attached as an image.
Explanation:
#include <iostream>
#include <fstream>
using namespace std;
bool isPalindrome(int n)
{
// Find reverse of n
int rev = 0;
for (int i = n; i > 0; i /= 10)
rev = rev * 10 + i % 10;
// If n and rev are same,then n is a palindrome
return (n == rev);
}
int main()
{
int min = 1; // Lower Bound
int max = 200; // Upper Bound
ofstream myfile;
myfile.open("palindrome.txt");
for (int i = min + 1; i < max; i++)
if (isPalindrome(i))
myfile << i << endl;
myfile.close();
return 0;
}
<span>If a attachment is not reliable to open, terrible effects can happen, peradventure it may have a virus or even malware that can destroy a computers software.
To avoid this and stay on the safe side, try the following:-
- Open it in protected view
- Do not save the attachment on your computer
- Look at the author and read the message carefully to make sure it is not biased.
- Open it on a flash-drive </span>
Answer:
The answer is "Option D".
Explanation:
Trojan program is a malicious code that is also known as a virus. It is a rootkit, that aims to infect the computer to hide or obscure an object. These programs are mainly used to download additional content, such as additional pieces of malware, to the infected computer, and other options are wrong that can be defined as follows:
- In option A, It is not correct, this option infects the system.
- In option B, It is used for infects another computer that's why it is incorrect.
- In option C, It is incorrect because it is used in cybersecurity.
Answer: A. Record Macro dialog box.
Explanation: