if (4,2) is given as input we have to list all the 4 digit binary numbers containing two 1s ie, 1100,1010,1001.... etc. i need a java program to implement this. can anyone help???
madhu.garimilla -1 Newbie Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
PoovenM 30 Junior Poster
jwenting 1,905 duckman Team Colleague
![Member Avatar for iamthwee](https://static.daniweb.com/connect/images/anonymous.webp)
iamthwee
![Member Avatar for iamthwee](https://static.daniweb.com/connect/images/anonymous.webp)
iamthwee
PoovenM 30 Junior Poster
![Member Avatar for iamthwee](https://static.daniweb.com/connect/images/anonymous.webp)
iamthwee
PoovenM 30 Junior Poster
![Member Avatar for iamthwee](https://static.daniweb.com/connect/images/anonymous.webp)
iamthwee
PoovenM 30 Junior Poster
![Member Avatar for iamthwee](https://static.daniweb.com/connect/images/anonymous.webp)
iamthwee
![Member Avatar for iamthwee](https://static.daniweb.com/connect/images/anonymous.webp)
iamthwee
madhu.garimilla -1 Newbie Poster
madhu.garimilla -1 Newbie Poster
PoovenM 30 Junior Poster
madhu.garimilla -1 Newbie Poster
![Member Avatar for iamthwee](https://static.daniweb.com/connect/images/anonymous.webp)
iamthwee
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
iamthwee commented: retarded... -2
Aia commented: Are you saying that as you look at the mirror? +6
![Member Avatar for iamthwee](https://static.daniweb.com/connect/images/anonymous.webp)
iamthwee
~s.o.s~ commented: It will, when you STFU... -5
no1zson 24 Posting Whiz in Training
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
![Member Avatar for iamthwee](https://static.daniweb.com/connect/images/anonymous.webp)
iamthwee
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.