Computer Science, asked by raj12366, 1 year ago

write a program in java to display all the all the numbers formed from its digit.
Sample Input: 693

Samlpe Output: 396
369
639
936
963

Answers

Answered by honey2242
1

//to display nos all the formed from digit 693
class display
{
public static void main ( )
{
system.out.println ("no.of digits formed 396");
system.out.println ("369,639,936,963,396,693");
}
}

raj12366: i have given just an example of 693 .. i want of any nunber that i input
Similar questions