samedi 27 juin 2015

Design a Bar pattern of given inputs

i have to code to show bar pattern like- if my input is 54362 then output should be like-

      * 
*     *
* *   *
* * * * 
* * * * *
* * * * *
5 4 3 6 2

Thanks in advance

Aucun commentaire:

Enregistrer un commentaire