#include <iostream> #include <vector> using namespace std; int main { char selection ; vector<double> list ; int new_num ; double average ; double total ; vector<int> min_element ; do { cout << "Menu options: \n" << endl; cout << "P - Print numbers\nA - Add a number\nM - Display mean of the numbers\nS - Display the smallest number\nL - Display the largest number\n" << endl; cout << "Enter your choice: "; cin >> selection; if else if else if { cout << "\nCalculating average of the list... " << endl; for average = total / list. size ; cout << "\nThe Average is: " << average << "\n" << endl; } else if } while ; cout << endl; return 0; } Burada min_element ' will never me NULL hatası. . @M. Sc jelly bean yardımcı olabilir misiniz?