Before I get to far and realize I wasn't using the correct method. may someone tell me if this would be a good method to use where I all the user to input and high and low temps per month into a two dimensional array. I think this would work but is there another preferred way to do it that's more quicker.
constint months=12;
constint high_Low=2;
//Make a function to read data. should be a two dimensional data
void getdata(unsignedint sto_highlow[][high_Low], int months, int &hightemp,int &lowtemp)
{
//high_low can only store in two. make a variable
for (int whatmonth=1;whatmonth<=months;whatmonth++)
{
//Reset high and low to zero everytime it gets into for loop
cout<<"\nHigh Temp of ";
switch (whatmonth)
{
case 1:
for(int high_lowtem=1;high_lowtem<=2;high_lowtem++)
{
cout<"High Temp of Jan: ";
cin>>sto_highlow[whatmonth][high_lowtem];
high_lowtem++;
cout<<"Low Temp of Jan: ";
cin>>sto_highlow[whatmonth][high_lowtem];
}