. 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
English,
5 months ago
Math,
5 months ago
Social Sciences,
11 months ago
English,
1 year ago
Math,
1 year ago