Given a number, we have to check that the entered number is IMEI Number or not.
An IMEI number is a 15 digit number and it is said to be IMEI number if and only if the sum of the number is exactly divisible by 10. But the condition is that when we entered the number the digit next to the previous one is taken as its double.
Example:
Input: 47415403237518
Output:
47415403237518 – Is an IMEI Number.
Program to check valid IMEI number in java
Output
need an explanation for this answer? contact us directly to get an explanation for this answer