Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 132,220 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 964 people online right now. Registration is fast and FREE... Join Now!




nested loop

 
Reply to this topicStart new topic

nested loop, I WANT TO LEARN HOW TO CALCULATE THE OUTPUT OF NESTED LOOPS.

digas
post 2 Apr, 2008 - 04:28 AM
Post #1


New D.I.C Head

*
Joined: 2 Apr, 2008
Posts: 1

NESTED LOOP TO PRINT

*
**
***
*****
******
*
**
*****
*******
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 2 Apr, 2008 - 04:42 AM
Post #2


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,170



Thanked 33 times

Dream Kudos: 25
My Contributions


Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: code.gif

Thanks.
User is online!Profile CardPM

Go to the top of the page

red_4900
post 2 Apr, 2008 - 05:02 AM
Post #3


Code Dreamers

****
Joined: 22 Feb, 2008
Posts: 791



Thanked 10 times
My Contributions


this one is so popular. now, I cant give u the code, but u might find something useful here:

http://www.dreamincode.net/forums/blog/mar...php?&cat=91

it's Martyr2's blog. find the "Building shape with loop" topic. quite nicely written. hope that helps u smile.gif
User is online!Profile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 11/21/08 08:47PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month