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;
}
Answer:
Yes it will create a string variable
A. because everyone basically has seen it..
Answer:
B. Click the Next icon on the Reviewing toolbar to review and then accept or reject each edit.
Explanation:
Since Jack wants to keep some changes and reject others, he can't use a global solution (like presented in answers A and C).
He has to go through each and every change proposition and decide individually if he wants to keep the change or not. That's why it's answer B.
It's the only way to accept some, reject some.
At the end of this process, he'll have a clean document with Rob's recommendations and his original documents.