can some1 please write this program for me. it is due 2morrow so plz help me out guyz.

A theatre seating chart is implemented as a two-dimensional array of ticket prices, like this:
10 10 10 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10 10 10
10 10 10 10 10 10 10 10 10 10
10 10 20 20 20 20 20 20 10 10
10 10 20 20 20 20 20 20 10 10
10 10 20 20 20 20 20 20 10 10
20 20 30 30 40 40 30 30 20 20
20 30 30 40 50 50 40 30 30 20
30 40 50 50 50 50 50 50 40 30

Write a program that prompts users to pick either a seat or a price. Mark sold seats by changing the price to 0. When a user specifies a seat, make sure it is available. When a user specifies a price, find any seat with that price starting at the front and working to the back of the theatre. Make sure you write your program using well defined functions.

2. Wow omg!!!!!!!!1oneone

I nominate this guy for the biggest-idiot award...

3. how much per line of code? or try rent-a-coder,
have you even tried to do it? if you are studying programming and you (still) have an entire day to do this task that is plenty of time for something of this level, and because obviously you already have some experience (as a programming or related student) and from what i remember of formal study you would not have been set the assignment unless all the required elements have already been covered in tutorials and lectures or would be covered thus before the due date in order for you to be able complete the work, so what is the problem with you pulling your finger out and attempting something??

4. ## wow!

no u retards i did try this.....this is wat i have so far:

Code:
```#include <iostream>
#include <iomanip>

using namespace std;

int main ()
{
int counts[ROWS][ISLES]
{
{ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 },
{ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 },
{ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 },
{ 10, 10, 20, 20, 20, 20, 20, 20, 10, 10 };
{ 10, 10, 20, 20, 20, 20, 20, 20, 10, 10 };
{ 10, 10, 20, 20, 20, 20, 20, 20, 10, 10 };
{ 20, 20, 30, 30, 40, 40, 30, 30, 20, 20 };
{ 20, 30, 30, 40, 50, 50, 40, 30, 30, 20 };
{ 30, 40, 50, 50, 50, 50, 50, 50, 40, 30 };
}

}```
Now i will make 5 diferent functions:
- to get the data
- to display the data
- to edit the array

i dunt get how to to display 0 and x's on the screeen if the tickets have been baught!!
i also dunt get how i can edit the array

so help me !

5. no u retards i did try this.
That gives me ( and probably everyone else here ) absolutely no inclination to help you with anything.

Your example shows no attempt in my eyes, you have a main function, and a array in the wrong location. How is that an attempt.
1) Print an intro
3) check for seat availability
4) Change seat price to \$0.00
5) Go back to 2?

*Use well defined functions -
Simple enough, Don't put everything in int main(). Use other functions to do the work...

Very simple assignment, and very simple logic.

edit:
Editing a 2D array is simple

int numbers[2][2];
numbers[0][0] = 0;
numbers[0][1] = 1;
numbers[1][0] = 2;
numbers[1][1] = 3;

Result
array [0][1]
[2][3]

Apply the same technique in a function.

Use a loop to display the seating arrangement.

6. lol what?! you called them retards because you *think you tried it, but you didn't even show us that you did. Ooohhh i see, you thought we could READ YOUR MIND, ah, that explains it. yea sorry we can't read minds.

also, you didn't do anything, that source just creates an array and doesn't implement any kind of functionality.

do you think we sit here and write programs for people?

when you run in to a situation where you get unexpected results due to poor logic or incorrect syntax we can help you in getting through that. what people don't do is your work for you.

what you obviously need to do is read a book on C++ programming so you know how to develop functions and put them together to execute some kind of process, maybe read the tutorials on this website.

http://www.cprogramming.com/tutorial.html

7. wow this just shows me that u guyz r a bunch of losers. the truth is none of u can write this progoram...u guyz r just makin excuses so u look all smart and ...........but u guyz no nutin bout it. if u can write this then show me!

8. Originally Posted by lil3thunder
if u can write this then show me!
Nice try.