this is what i have so far
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int n;
const int numRows = n;
const int numColumns = 3;
double table[numRows][numColumns];
cout <<"This program will setup a table with values up to an integer n. Please enter your desired maximum integer n:"<< endl;
cin >> n;
cout <<table;
return 0;
}
how can i make nmax apply to the n i choose? and how can I set it up in a table which is displayed? ive spent hours and hours, im sorry, im so bad at this...
all i get out is 0x22cbd.....

New Topic/Question
Reply




MultiQuote






|