Expected Practical Question 2011
QUESTION 1
WAP which input a positive natural number N>=2 and N<=20 .and print the possible number combinations (except N itself) which,when added give N.between number at least one space should be presented.
Input N=3
Output : Given number 3
Combinations :
1 1 1
1 2
Input N=5
Output : Given number 5
Combinations :
1 1 1 1 1
1 1 1 2
1 2 2
1 1 3
1 4
2 3
SOLUTION OF ABOVE PROGRAM IS ON MY BLOG
http://kumardks.blogspot.com/2011/02/solution-of-question-1.html
QUESTION 3. DAY OF THE WEEK
SOLUTIONS of these Problems on the Blog www.kumardks.blogspot.com