Write a program in java to accept a number and display that number after removing all the zeroes (0). | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Write a program in java to accept a number and display that number after removing all the zeroes (0).

answer me with a simple code

28th Jun 2017, 3:40 PM
Kaustav Gupta
Kaustav Gupta - avatar
1 Respuesta
+ 1
Python: print(input().replace('0', ''))
28th Jun 2017, 6:41 PM
Igor B
Igor B - avatar