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 =...
Type: Posts; User: Nurlana
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 =...
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)
{...
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.
Thank you for your advise, but I cannot use Classes here. Requirement is to use basic arrays and functions.
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[] =...