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.
The process of using magnetic fields to produce voltage.
Less, if it’s too big: hard to control and maneuverability for shooting wouldn’t be that good. a smaller wheelchair allows for faster movement and control, along with easier shooting and upper body movement
Answer:
(iv) second law of thermodynamics
Explanation:
The Clausius inequality expresses the second law of thermodynamics it applies to the real engine cycle.It is defined as the cycle integral of change in entropy of a reversible system is zero. It is nothing but mathematical form of second law of thermodynamics . It also states that for irreversible process the cyclic integral of change in entropy is less than zero