Search:

Type: Posts; User: Nurlana

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    7,557

    Sorry, guys, I am really stuck. My brains will...

    Sorry, guys, I am really stuck. My brains will soon fry. the instructor said I need to use the following in the main:


    cout << setw[6] << "Value" << setw(12) << "Frequency" << endl;
    int v =...
  2. Replies
    12
    Views
    7,557

    I have already sorted the list. The function call...

    I have already sorted the list. The function call is already in the main.
    As for function description, I didn't show it here, because it was working fine.



    void sort(int list[], int size)
    {...
  3. Replies
    12
    Views
    7,557

    It would be good for this given array, but I need...

    It would be good for this given array, but I need a generic function, in case if I don't know if there will be repetitions or how many repetitions in the array.
  4. Replies
    12
    Views
    7,557

    Thank you for your advise, but I cannot use...

    Thank you for your advise, but I cannot use Classes here. Requirement is to use basic arrays and functions.
  5. Replies
    12
    Views
    7,557

    Sort and count frequency of array elements.

    I need a help please.
    I have to count the frequency of values in the array. I have this code:

    [/code]
    int main()
    {
    int size;
    int val, count;
    int list[] =...
Results 1 to 5 of 5