Help needed for a question!

This is a discussion on Help needed for a question! within the C Programming forums, part of the General Programming Boards category; Hello guys. I posted a question awhile ago and I think I did not make myself clear. In the picture ...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    8

    Help needed for a question!

    Hello guys.

    I posted a question awhile ago and I think I did not make myself clear. In the picture here, is the question.

    The part I don't know how to do is: How do I find the 'Below average weight' phones and then print out the model types and price?

    Thanks a lot!
    CAsper
    Attached Images Attached Images  
    Last edited by N707JT; 04-29-2003 at 04:46 AM.

  2. #2
    Registered User zmerlinz's Avatar
    Join Date
    Apr 2003
    Posts
    19
    well you need to find the Mean weight of the phones (add them all together and divide by the amount of phones)

    they you will get a average weight, then print out all the ones that are < average
    Why is it all Mafia bosses are called Don? I mean, Donald isn't even an Italian name
    [Galahtech.com] | [My Site] | [Fishsponge] | [UnixForum.co.uk]

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    8
    Yup, but that's not what I meant.

    How can I print out the CORRESPONDING phone models and price for the 'Below average weight' phone?
    Last edited by N707JT; 04-29-2003 at 05:00 AM.

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    8
    Umm I need help urgently, so if anyone can help me on this, I will be most appreicative!

    The question again is, how to I print out the results for the
    'Below average weight' phones detail. i.e.

    The model number and the price.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. another do while question
    By kbpsu in forum C++ Programming
    Replies: 3
    Last Post: 03-23-2009, 12:14 PM
  2. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 06:18 AM
  3. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  4. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 08:22 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 12:47 AM

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