Question:

On repitition

by  |  earlier

0 LIKES UnLike

take input from the user .for eg:2now print how many times 2 is present currentlyfor eg:1 times 2 will be printed as :1 2now 1 appears 1 times .so next out put will be :1 1 1 2(2 appears 1 times)similarly3 1 1 2 1 3 2 1 1 2like this we have to print 10 lines

 Tags:

   Report
Please Login to view 1 answers to this question
You're reading: On repitition

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.