Hints
You may nest two inner loops, one to print spaces and one to print numbers (0-9), inside an outer loop that steps down the screen from line to line.
ask user to enter any number from 0 to 9. if he enter 3 out put will be.
*****1
****2 2
***3 3 3
**4 4 4 4
In the above sample there will no'*' in real and it is not appear in screan . it will write only for submitting sample.if I do not write * prew of sample is not correct in appearence.
PLEASE GIVE COMPLETE SOLUTION. THANKS
2006-10-26
03:01:31
·
1 answers
·
asked by
Muhammad A
1
in
Education & Reference
➔ Higher Education (University +)