+ 1
How to give specified length to integers/numbers from user input?(eg. I want only 5 digits from user input no more or less)
9 odpowiedzi
+ 3
It was just an example.
https://code.sololearn.com/cy4E30R6GLfr/?ref=app
+ 2
Shrinath did you get your answer ? If not try this ..
https://code.sololearn.com/cHlOUN3vtq7U/?ref=app
+ 1
It converts string to integer
+ 1
BroFar thanks buddy👍
0
Simba .length() function use for strings not for integers
0
Infinity Nope that doesn't work.Actually you declared str variable as local.
0
Simba Yeah thx👍
0
Pls i need help on a java program can i forward it here,it is urgent
0
Anthony you can post in public