Thread: Printing a triangle

  1. #1
    Registered User
    Join Date
    Nov 2009

    Printing a triangle

    any body help me to this programm
    ******* using only two for loops. and it must be in shape of triangle not right angled triangle plz i want it urgent thanks

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Do not bump old threads without very good reason, and read the homework policy.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recursive Triangle Function
    By w2look in forum C Programming
    Replies: 14
    Last Post: 11-13-2010, 02:31 PM
  2. Clipping a Triangle of Digits
    By towely in forum C++ Programming
    Replies: 3
    Last Post: 10-26-2009, 07:00 AM
  3. Right Triangle Program
    By BSmith4740 in forum C# Programming
    Replies: 9
    Last Post: 02-27-2008, 12:24 AM
  4. Just in case: "Odd" Triangle Challenge (for me)
    By BB18 in forum C Programming
    Replies: 3
    Last Post: 10-09-2004, 12:02 AM
  5. printing a triangle
    By viaxd in forum C Programming
    Replies: 13
    Last Post: 01-21-2004, 04:39 PM