wap to input a number and arrange it's digit in ascending order in java
Answers
Answered by
0
Answer:
I am studying python
sorry I can't give the answer
Answered by
3
Answer:
public class digit
{
public static void main (int n)
{
int n,dg=0,a;
for (i=1,i<=n,i++);
{
int dg=n%10
n=n/10
if dg<n
S.o.p dg
else print
dg>n
LOL..I think it's wrong..will edit it..don't worry
Similar questions
Political Science,
5 months ago
Computer Science,
5 months ago
Math,
5 months ago
Math,
11 months ago
Physics,
11 months ago
CBSE BOARD XII,
1 year ago
Science,
1 year ago