Answer:
//Program was implemented using C++ Programming Language
// Comments are used for explanatory purpose
#include<iostream>
using namespace std;
unsigned int second_a(unsigned int n)
{
int r,sum=0,temp;
int first;
for(int i= 1; I<=n; i++)
{
first = n;
//Check if first digit is 3
// Remove last digit from number till only one digit is left
while(first >= 10)
{
first = first / 10;
}
if(first == 3) // if first digit is 3
{
//Check if n is palindrome
temp=n; // save the value of n in a temporary Variable
while(n>0)
{
r=n%10; //getting remainder
sum=(sum*10)+r;
n=n/10;
}
if(temp==sum)
cout<<n<<" is a palindrome";
else
cout<<n<<" is not a palindrome";
}
}
}
Explanation:
The above code segments is a functional program that checks if a number that starts with digit 3 is Palindromic or not.
The program was coded using C++ programming language.
The main method of the program is omitted.
Comments were used for explanatory purpose.
Answer:
See explaination
Explanation:
Please kindly check attachment for the step by step solution of the given problem.
Answer:
how many people were asked though
Explanation:
Answer:
its to show the shape is flat and only flat at the botom and top and you can set it up ther way and it wlll still look the same.
Explanation:
Answer:
1. Location of enemy ground troops - EARTH OBSERVING.
Using earth observing satellite imagery, the military can observe vast expanses of land and in so doing, find the location of enemy ground troops.
2. Routine reconnaissance of an unfamiliar climate - WEATHER
In other to find out more about the climate of an area, a weather satellite can be used to observe the areas and its changing weather patterns.
3. Analyze waterways in an unfamiliar location - NAVIGATION
Using navigation satellites, navigation conduits such as roads and waterways can be observed.
4. Provide warning of an attack - COMMUNICATION.
Communications satellites enable people to communicate over great distances and so can be used by the military to warn of an impending attack.