Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
seating arrangement code in java for exam hall
#1

// movie.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <string>
#include <iostream>
using namespace std;
int main()
{
int seat[5][6], row;

cout << "Welcome to the movie theater! Choose a seat.\n";
for( int i=0; i <= 4; i++)
{
for( int j=0; j <= 5; j++)
{
seat[i][j] == j+1;

cout << j+1;
}
cout << endl;
}

cout << "Sales amount: " << '0' << endl;
cout << "Sales Volume: " << '0' << endl;

system("pause");
return 0;

}
Reply

#2
i need full codeing exam sitting arrengment project so please help me give a code
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 iAndrew & Melroy van den Berg.