Write a Java program to check whether a given number is a Q4 number(changed the original name).
Q4 number is a number defined by the following process :
Sum of its digits powered with their respective position is equal to the original number.
For example 135 is a Q4 number :
As 11+32+53 = 135
Some other Q4 numbers are 89, 175, 518 etc.
Input a number:135.
Output: Q4 number
Input a number : 25
Not a Q4 Number
Answers
Answered by
1
Answer:
In a combustion reaction in the air , oxygen is the limiting reactant. Statement-2 Oxygen is present in limited amount(only 21%) in the air.
Similar questions