. WAP to input a number and Print a new number by removing all the 0s from it
for example
input - 204509
output _2459
Input-2405300
output as_ 2453
Answers
Answered by
0
Explanation:
while(n>0)
{
int d=n%10;
if(d!=0)
System.out.print(d);
n=n/10;
}
Similar questions