Hi,
I am a newbie.....I need code for this program
A number is called 'desirable' if all the digits are strictly ascending
eg: 145 as 1<4<5. You know that other person has a strictly numeric passwordthat is 'desirable'. Your close friend has given you the number of digits (N)in other person's password. WAP that takes in 'N' as input and prints out all possible 'desirable' numbers that can be formed with N digits.
Can anyone help me???
I am a newbie.....I need code for this program
A number is called 'desirable' if all the digits are strictly ascending
eg: 145 as 1<4<5. You know that other person has a strictly numeric passwordthat is 'desirable'. Your close friend has given you the number of digits (N)in other person's password. WAP that takes in 'N' as input and prints out all possible 'desirable' numbers that can be formed with N digits.
Can anyone help me???