Computer Science, asked by komal12127, 11 months ago

. 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 aswinasok1245
0

Explanation:

while(n>0)

{

int d=n%10;

if(d!=0)

System.out.print(d);

n=n/10;

}

Similar questions