Arrays and Strings

Discussion in 'C++' started by allen tambunan, Mar 6, 2011.

  1. allen tambunan

    allen tambunan New Member

    Joined:
    Mar 6, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I got a problem for C++ Programming.

    1.Write a program that uses a two-dimensinal array to store the highest and lowest temperature for each month of the year. the program should output the average high, average low, and the highest and lowest temperature for the year. your program must consist of the following functions:

    A. Function getData: this functions reads and stores data in the two dimensional arrays.
    B. Function averageHigh: this function calculates and returns the average high tempeature for the year.
    C. Function averagelow: this function calculates and returns the average low tempeature for the year
    D. Function indexHighTemp: this function returns the index of the highest high temperature of the array.
    e. Function indexLowTemp: this function returns the index of the lowest low temperature of the array.

    (These function must all have the approprate parameters.)

    Does anyone can help me for this problem. I really need your help. thx.
     
  2. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India
    Please dont ask for Straight Problem-Solution Codes.

    If you want that you have to pay for it
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice