IN THE VOID MAIN WHERE WOULD YOU PUT THE ENDING BRACKET }
void main()
{
const int Number_Rows = 5; // Number of Rows.
const int Number_Columns = 10; // Number of Columns.
const float Prices[] = {100.00,75.00,50.00,25.00,5.00}; // Prices by Row
float Seats[Number_Rows][Number_Columns]; ... Seats Array.
float Price[Number_Rows];
int i;
int x,y;
// Ask for price for seat, input price.
for (i = 0; i %26lt; Number_Rows; i++)
{
cout %26lt;%26lt; "Please enter the rate for seats in row" %26lt;%26lt; (i + 1) %26lt;%26lt; endl;
cin %26gt;%26gt; Prices[i];
}
}
Help Using C++?
Looks to me like you already have it in the right place....
endl;
cin %26gt;%26gt; Prices[i];
}
}
Reply:http://www.dreamincode.net
All your C++ Questions answered Here
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment