+ 1
Plzzz tell me why this program nt wrking.....
https://code.sololearn.com/c9DAI6NKsQ74/?ref=app Input: 1987 output: 8719
10 Respostas
+ 2
Math.pow function return a double value that you want implicitally convert in int in your code but this mean a data loss and java complaint about it... you have to tell to java that you want explicitally convert they like:
(int)Math.pow(10, digits)
for any pow occurance
+ 5
you welcome
+ 3
https://code.sololearn.com/cG74T53smLyw/?ref=app
As
KrOW say your program has a problem of type conversion..
+ 3
I'm still at my college..
when i get back i send you
Harsh Agrawal
+ 2
thnxxx KrOW and Arun Tomar
+ 2
You are welcome đđđđ
+ 2
Harsh Agrawal
you can do in so many way.
used split function from the second last
the rest part do the same as you do in above program..
after you complete it
add the split part to the rest of the sorted split part.....
+ 1
Arun Tomar if i want to display my dis code as like dis so what can i do???
Input: 12345
Output: 45312
+ 1
Arun Tomar okkkk bro
0
Arun Tomar can u do it in my code!!!!