squared with a loop

This is a discussion on squared with a loop within the C++ Programming forums, part of the General Programming Boards category; can any help with this how to do this in a loop ******** ******** ******** ******** ******** ******** ******** ********...

  1. #1
    Registered User
    Join Date
    Aug 2012
    Posts
    1

    Question squared with a loop

    can any help with this how to do this in a loop

    ********
    ********
    ********
    ********
    ********
    ********
    ********
    ********

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    Well not hijacking other peoples threads would be a start (post moved).

    As would reading the forum rules to know that we don't just hand out answers on a plate.

    Start with printing a single
    *

    Then read about for loops in your book to print
    *****

    Then - well, it's easy after that.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Least Squared Error Function
    By PartOfTheSoluti in forum C Programming
    Replies: 12
    Last Post: 07-15-2010, 01:30 PM
  2. Sqareroot and squared
    By farligefinn in forum C++ Programming
    Replies: 17
    Last Post: 08-03-2006, 08:12 PM
  3. squared digit length
    By peter_hii in forum C++ Programming
    Replies: 10
    Last Post: 04-01-2006, 07:01 AM
  4. newbie question - sin squared
    By midiman in forum C++ Programming
    Replies: 11
    Last Post: 09-29-2005, 01:03 AM
  5. The sum of squared digits
    By wiz23 in forum C++ Programming
    Replies: 4
    Last Post: 04-10-2005, 09:05 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21