Thread: squared with a loop

  1. #1
    Registered User
    Join Date
    Aug 2012

    Question squared with a loop

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


  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    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.

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, 08: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