0

I am programming a number of students and quiz questions and correct answers program for my school's programming II class. I have an ok knowledge of C++, but I cannot understand the reason why my code does not work. I have created an integer of num of students, I asked the question of how many students do you have, then I made a const int Num Of Students equaling the user's input and then I set student names with Number Of Students like so: const string student_name[Number_Of_Students];

What am I doing wrong???

```
#include <iostream>
#include <string>
#include <cmath>
#include <math.h>
#include <algorithm>
using namespace std;
int main()
{
int number_of_students;
cout << "how many students do you have? ";
cin >> number_of_students;
cout << endl;
const int Number_Of_Students = number_of_students;
const string student_name[Number_Of_Students];
system("pause");
return 0;
}
```