Here is my code
and this is what keeps popping up when i debug it and don't know what it meansCode:#include <iostream> using namespace std; int main () { double alpha [50]; int x; for(x = 1; x <= 50; x++); { if (x <=25) alpha[x] = x * x; else alpha[x] = 3 * x; cout << alpha[x]; if ( x == 9) cout << endl; } return 0; }
Unhandled exception at 0x40632000 in alpha.exe: 0xC0000005: Access violation.