A computer is a device whose main function is to process large amounts of information quickly and accurately, and this procedure is done thanks to hardware and software.
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;
}
That answer would be internet explorer
Answer:
Explanation:
yes
but dont forget to call makeBasePlateGreen
maybe you would call it at the end of the program?
by the way you have a typo at the end
make the O lowercase
myBlasePlate.BrickColor = BrickColor.Green()
and then add this to the end
makeBasePlateGreen()
so you call the function and actually use it.