what is the meaning of zippo number
Answers
Answer:
The zippo number is a valuable information on the bottom of every Zippo windproof lighter can help you determine its date of manufacture. Starting in the mid 50's, a date code was stamped on the bottom of every Zippo lighter made.
Explanation:
Answer:
Zippo number
Explanation:
All numbers except the 1st and last digits are zero.
Example:2005,6009,etc;
java program:
import java.util.*;
class Zippo
{
public static void main()
{
Scanner sc=new Scanner (System.in);
System.out.print('\u000C');
System.out.println("Enter a number to check the number is Zippo");
int n=sc.nextInt();
int d1=0,d2=0,sum=0,d4=0;
d1 = n%10;
while (n>0)
{
d2 = n%10;
n = n/10;
sum = sum+d2;
}
d4 = d1+d2;
if(d4 ==sum)
System.out.println("zippo");
else
System.out.println("not zippo");
}
}
In zippo number, as middle digits are 0,the sum of all digits will be equal to the sum of the 1st and last digits.