cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
how to print ***
how to print ***
Mar 23, 2010 at 7:07am UTC
awanz
(2)
hello everybody...
I want to ask how to print
****
***
**
*
with repetition statements "for"
thanks for the answer
Mar 23, 2010 at 7:14am UTC
genuwine21
(32)
You need an external loop for the number of rows, internal for number per row. You may want to write the printing line as a separate function, so you can pass the number you want to print in the row.
Mar 23, 2010 at 10:46am UTC
mcleano
(922)
Check my reply here:
http://www.cplusplus.com/forum/beginner/17732/#msg89414
But you obviously need to learn how to use them so:
http://www.cplusplus.com/doc/tutorial/control/
Last edited on
Mar 23, 2010 at 10:50am UTC
Mar 23, 2010 at 11:03am UTC
awanz
(2)
thanks for the response given... next...I want to learn about the function ..
but I want to print a string * to use
FOR
...
Could it be written code ...
This assignment from my college ...
guidance of the master ...: D
Last edited on
Mar 23, 2010 at 11:07am UTC
Topic archived. No new replies allowed.