using static System.Console;
namespace MultistoryFinder
{
class MultistoryFinder
{
static void Main(string[] args)
{
int [,,] rents = { { 400, 500 }, { 450, 550 }, { 500, 550 } },
{ { 510,610},{ 710,810},{ 910,1010} },
{ { 525,625},{ 725,825},{ 925,1025} },
{ { 850,950},{ 1050,1150},{ 1250,1350} };
int building;
int floor;
int bedrooms;
String inputString;
Write("Enter the building number");
inputString = ReadLine();
building = Convert.ToInt32(inputString);
}
}
I am trying to create a program that accepts three-dimensional array but it keeps on giving me error that " nested array identifier is needed". I don't understand what to do in other to fixed the errors.
