java PROJECT for icse students : CINEMASTER
Hi, here is a program for icse 10th student's projects.
/**
* This is a class as a website that is used to book your tickets for your favorite new cinemas in popular theaters...
* You can also order you food in your theaters to fully enjoy your cinema...
* Follow the instruction during the running and you can book your cinema ticket Successfully...
* @author (S.Ishwarkumar_10th std.)
* @version (The first version of www.cinemaster.com <1.0.0> . You can find many options of booking your ticket.)
*/
import java.io.*;
import java.util.*;
class C_I_N_E_M_A_S_T_E_R
{
public static void C_I_N_E_M_A_S_T_E_R()throws IOException
{
String ex;
do{
Date date=new Date();
Calendar ca=Calendar.getInstance();
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
String th="";int r=0,fd,tot_fd=0,tot_d,bvrg,tot_bvrg,snck,tot_snck,fl=0,q,w=0;int d=0,m=0,y=0;
int rem=0;int s=0;int cr=0;float ti=0;String a1=" ",ans1,size;
String t1="п !@#$%^&*)(_www.cinemaster.com_)(*&^%$#@! search[____________]google ads";
String t2="п \t\t\t\t|___________________________________________________________________| ";
String t= "п ";
String t3="п \t\t\t\t•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• DATE : "+date;
String t4="п \t\t\t\t• ',',',',',',',',',',CINEMASTER,',',',',',',',',',' •";
String t5="п \t\t\t\t• [CINEMAS's MASTER] •";
String t6="п \t\t\t\t•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• TODAY : "
+ca.get(Calendar.DATE)+"/"+(ca.get(Calendar.MONTH)+1)+"/"+ca.get(Calendar.YEAR);
String z1="\t\t\t\t ச் *********** * * * * * * * வ் ██░▀██████████████▀░██ ";
String z2="\t\t\t\t ச் * * * * * * * * * * வ் █▌▒▒░████████████░▒▒▐█ ";
String z3="\t\t\t\t ச் * * * * * * * * * * வ் █░▒▒▒░██████████░▒▒▒░█ ";
String z4="\t\t\t\t ச் * ********* * * * * * ** வ் ▌░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▐ ";
String z5="\t\t\t\t ச் * * * ********* * * * * * வ் ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░";
String z6="\t\t\t\t ச் * * * * * * ** * * வ் ███▀▀▀██▄▒▒▒▒▒▒▒▄██▀▀▀██ ";
String z7="\t\t\t\t ச் * * * * * * * * * வ் ██░░░▐█░▀█▒▒▒▒▒█▀░█▌░░░█ ";
String z8="\t\t\t\t ச் வ் ▐▌░░░▐▄▌░▐▌▒▒▒▐▌░▐▄▌░░▐▌ ";
String z9="\t\t\t\t ச் வ் █░░░▐█▌░░▌▒▒▒▐░░▐█▌░░█ ";
String z10="\t\t\t\tவ் * * * * * * * வ் ▒▀▄▄▄█▄▄▄▌░▄░▐▄▄▄█▄▄▀▒ ";
String z11="\t\t\t\tவ் * * * * * * வ் ░░░░░░░░░░└┴┘░░░░░░░░░ ";
String z12="\t\t\t\tவ் * * * * * * வ் ██▄▄░░░░░░░░░░░░░░▄▄██ ";
String z13="\t\t\t\tவ் * * * * * வ் ████████▒▒▒▒▒▒████████ ";
String z14="\t\t\t\tவ் * * * * * வ் ";
String z15="\t\t\t\tவ் * * * * * * * வ் ";
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println("\t\t\t\t YOU HAVE CAME TO AN EXCLUSIVE WEBSITE - The Master Of Cinemas");
System.out.println(" ");
String _1=b.readLine();
System.out.println(" So,Shall we start now?");
String _2=b.readLine();
System.out.println(" LETS JUMP INTO THE WORLD OF CINEMAS");
String _3=b.readLine();
System.out.println(" First tell the place where you live");
System.out.println("Madurai,\nChennai,\nHyderabad,\nBanglore,\nMumbai\nor Kolkata ?");
String cty=b.readLine();
do
{
if(cty.equalsIgnoreCase("madurai"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ "AMBIGHA\nJAZZ\nALANGHAR\nGANESH" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("ambigha"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" AMBIGA CINEMAS_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)EDHU KADHIRVELAN KAADHAL\n2)AAHA KALYAANAM");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.110");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=110*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : AMBHIGHA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : EDHU KATHIRVELAN KAADAL ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : AMBHIGHA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : EDHU KATHIRVELAN KAADAL ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{
System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.100");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=100*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : AMBHIGHA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AAHA KALYANAM ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : AMBHIGHA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AAHAA KALYANAM ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}}}
else if(th.equalsIgnoreCase("jazz"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" JAZZ_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)BRAMMAN\n2)PAPPAALI");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.120");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=120*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : JAZZ ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : BRAMMAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : JAZZ ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : BRAMMAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.78");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=78*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : JAZZ ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PAPPAALI ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : JAZZ ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PAPPAALI ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("alanghar"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ALANGHAR_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)ACTION KIDS");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.65");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=65*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ALANGHAR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : ACTION KIDS ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ALANGHAR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : ACTION KIDS ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(23+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("ganesh"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ganesh_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Aayirathil Oruvan[RESTORED VERSION]");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.200");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=200*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ADLABS GANESH ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AAYIRATHIL ORUVAN[Restored Version]");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : GANESH ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AAYIRATHIL ORUVAN[Restored Version]");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}}
else if(cty.equalsIgnoreCase("chennai"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ "SATHYAM\nESCAPE\nMAYAJAAL\nPVR" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("sathyam"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" SATHYAM CINEMAS_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)MAAN KARATHE\n2)NAAN SIGAPPU MANITHAN");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.125");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=125*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SATHYAM MULTIPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : MAAN KARATHE ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-12 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : SATHYAM MULTIPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : MAAN KARATHE ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-12 to A-"+(12+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.154");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=154*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SATHYAM MULTIPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : NAAN SIGAPPU MANITHAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SATHYAM MULTIPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : NAAN SIGAPPU MANITHAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-26 to A-"+(26+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(th.equalsIgnoreCase("escape"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ESCAPE_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)ENNAMO NADAKKUTHU\n2)THEGIDI");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.95");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=95*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ESCAPE CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : ENNAMO NADAKUTHU ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-58 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ESCAPE CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : ENNAMO NADAKUTHU ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-59 to A-"+(59+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.89");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=89*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ESCAPE CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : THEGIDI ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-19 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ESCAPE CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : THEGIDI ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-19 to A-"+(19+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("MAYAJAAL"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" MAYAJAAL_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)THENALIRAAMAN");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.162");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=162*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : MAYAJAAL CINEPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : THENALIRAAMAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-65 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : MAYAJAAL CINEPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : THENALIRAAMAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-34 to A-"+(34+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("PVR"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" PVR_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)AGADAM");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.45");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=45*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : PVR CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AGADAM ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : PVR CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AGADAM");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
if(cty.equalsIgnoreCase("hyderabad"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ "SRINIVASA\nSHANTI\nKUMAR\nDEVI 70MM" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("srinivasa"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" SRINIVASA CINEMAS_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)MANAM\n2)AMRUTHAM CHANNDHAMAMA LO");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.110");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=110*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SRINIVASA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : MANAM ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : SRINIVASA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : MANAM ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{
System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.100");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=100*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SRINIVASA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AMRUTHAM CHANNDHAMAMA LO ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SRINIVASA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AMRUTHAM CHANNDHAMAMA LO ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}}}
else if(th.equalsIgnoreCase("SHANTI"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" SHANTI_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)RAKSHAKUDU\n2)PRABHANJAN");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.120");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=120*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SHANTI DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : RAKSHAKUDU ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SHANTI DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : RAKSHAKUDU ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.78");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=78*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SHANTI DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PRABHANJAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SHANTI DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PRABHANJAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("KUMAR"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" KUMAR_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)PRATIGHATANA");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.65");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=65*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : KUMAR 70 MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PRATIGHATANA ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : KUMAR 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PRATIGHATANA ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(23+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("DEVI"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" DEVI 70MM_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)TAFFIC");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.200");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=200*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : DEVI 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : TAFFIC");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : DEVI 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : TAFFIC");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}} if(cty.equalsIgnoreCase("Banglore"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ "Vision Cinemas\nCauvery Theatre\nNataraj Theatre\nLavanya Theatre" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("Vision"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Vision Cinemas CINEMAS_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Pungi Daasa\n2)Savaari 2");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.110");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=110*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Vision Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Pungi Daasa ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : Vision Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Pungi Daasa ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{
System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.100");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=100*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Vision Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Savaari 2 ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Vision Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Savaari 2 ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}}}
else if(th.equalsIgnoreCase("Cauvery"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Cauvery Theatre_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Gajakesari\n2)Hara");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.120");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=120*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Cauvery Theatre DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Gajakesari ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Cauvery Theatre DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Gajakesari ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.78");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=78*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Cauvery Theatre DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Hara ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Cauvery Theatre DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Hara ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("Nataraj"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Nataraj Theatre_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Maanikya");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.65");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=65*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Nataraj Theatre 70 MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Maanikya ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Nataraj Theatre 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Maanikya ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(23+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("Lavanya"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Lavanya Theatre_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Ragini IPS");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.200");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=200*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Lavanya Theatre ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Ragini IPS");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Lavanya Theatre ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Ragini IPS");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}} if(cty.equalsIgnoreCase("Kolkata"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ "PVR CINEMAS\nINOX: Hiland Park\nRDB Cinemas: Salt Lake\nCineMAX" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("PVR"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" PVR CINEMAS_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Sudhui Anubhab\n2)Bhaarate");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.110");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=110*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : PVR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Sudhui Anubhab ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : PVR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Sudhui Anubhab ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{
System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.100");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=100*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : PVR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Bhaarate ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : PVR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Bhaarate ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}}}
else if(th.equalsIgnoreCase("INOX"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ?INOX: Hiland Park_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Picnic\n2)Teen Patti");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.120");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=120*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?INOX: Hiland Park DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Picnic ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?INOX: Hiland Park DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Picnic ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.78");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=78*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?INOX: Hiland Park DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Teen Patti ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?INOX: Hiland Park DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Teen Patti ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("RDB"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ?RDB Cinemas: Salt Lake_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Aagun");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.65");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=65*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?RDB Cinemas: Salt Lake 70 MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Aagun ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?RDB Cinemas: Salt Lake 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Aagun ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(23+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("CineMAX"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" CineMAX_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Path Ghat");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.200");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=200*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : CineMAX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Path Ghat");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : CineMAX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Path Ghat");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}}
if(cty.equalsIgnoreCase("Mumbai"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ " Sterling Cineplex\nMETRO BIG Cinemas\nEros Cinema\nGALAXY Cinemas" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("Sterling"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Sterling Cineplex_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Citylights\n2)Tum Ho Yaara");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.110");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=110*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Sterling Cineplex ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Citylights ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : Sterling Cineplex ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Citylights ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{
System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.100");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=100*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Sterling Cineplex ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Tum Ho Yaara ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Sterling Cineplex ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Tum Ho Yaara ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}}}
else if(th.equalsIgnoreCase("METRO BIG"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ?METRO BIG Cinemas_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Heropanti\n2)Kuku Mathur Ki Jhand Ho Gayi");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.120");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=120*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?METRO BIG Cinemas DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Heropanti ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?METRO BIG Cinemas DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Heropanti ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.78");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=78*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?METRO BIG Cinemas DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Kuku Mathur Ki Jhand Ho Gayi ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?METRO BIG Cinemas DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Kuku Mathur Ki Jhand Ho Gayi ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("Eros"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Eros Cinema_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Aahinsa-The Untold Story");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.65");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=65*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Eros Cinema 70 MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Aahinsa-The Untold Story ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Eros Cinema 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Aahinsa-The Untold Story ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(23+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("GALAXY"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" GALAXY Cinemas_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Ek Villain");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.200");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=200*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : GALAXY Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Ek Villain");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : GALAXY Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Ek Villain");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
if(w!=1)
{
System.out.println("Enter |'Q'| to Get out of Cinema TICKET Resarvation");
a1=b.readLine();
}
}while(a1.equalsIgnoreCase("q")!=true);
System.out.println("Enter 1 if you reserved a ticket or enter 2 : ");
int res=Integer.parseInt(b.readLine());
if(res==1)
{
do
{System.out.println("\f");
if(res==1)
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("*********** WELCOME TO THE SNACK BAR OF CINEMASTER website ************");
System.out.println();
System.out.println(" THEATER : "+th.toUpperCase());
System.out.println("<<< STALL 1 >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("********** SECTION : CHILLED BEVERAGES **********");
System.out.println();
System.out.println("1. COCA COLA 2. SPRITE");
System.out.println("3. FRUITI 4. SEVEN UP");
System.out.println("5. DIET PEPSI 6. COLD COFEE");
System.out.println("7. ICE TEA 8. CHOCOLATE KRUSHERS");
System.out.println("9. BLACKBERRY KRUSHERS 10.LEMON N ICETEA");
System.out.println();
System.out.println("********** SECTION : PIPING HOT DRINKS **********");
System.out.println();
System.out.println("11. TEA REGULAR 12. HOT LEMON TEA");
System.out.println("13. ESPRESSO 14. CAFEMACHO");
System.out.println("15. CAPPUCINO 16. CAFE LATTE");
System.out.println("17. IRISH COFEE");
System.out.println();
String C1=new String();
System.out.print("DO YOU WANT YO BUY ANYTHING HERE ?(Y/N):");
C1=b.readLine();
System.out.println();
if(C1.equalsIgnoreCase("Y"))
{
System.out.print("CHOOSE YOUR BEVERAGE BY ENTERING THE NUMBER :");
bvrg=Integer.parseInt(b.readLine());
System.out.print("ENTER THE TOTAL NUMBER OF BEVERAGE YOU WANT TO BUY :");
tot_bvrg=Integer.parseInt(b.readLine());
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("\f");
System.out.println("<<< STALL 1 BILL >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
if(bvrg>=1 && bvrg<=7)
System.out.println("TOTAL COST IS RS."+(tot_bvrg*45));
else if (bvrg>=8 && bvrg<=10)
System.out.println("THE TOTAL COST IN Rs"+(tot_bvrg*55));
else if (bvrg>=11 && bvrg<=12)
System.out.println("THE TOTAL COST IN Rs"+(tot_bvrg*65));
else if (bvrg>=13 && bvrg<=17)
System.out.println("THE TOTAL COST IN Rs"+(tot_bvrg*75));
System.out.println();
}
else System.out.println("\f" );
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("<<< STALL 2 >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("************* SECTION : QUICK BITES *************");
System.out.println();
System.out.println();
System.out.println("18. POP CORN[REGULAR] 19. POP CORN[CHEESE]");
System.out.println("20. POP CORN[CARAMEL] 21. POP CORN[TANGY TOMATO]");
System.out.println("22. VEG SAMOSA 23. VEG PUFF");
System.out.println("24. VEG QUICHE 25. VEG PIZZA");
System.out.println("26. VEG CROISSANT 27. VEG BURGER");
System.out.println("28. FRENCH FRIES 29. CHICKEN PUFF ROLL");
System.out.println("30. MULTI GRAIN CHICKEN SANDWICH 31. FOCCACCIA CHICKEN SANDWICH");
System.out.println("32. CHICKEN SUBMARINE");
String C2=new String();
System.out.println();
System.out.print("DO YOU WANT YO BUY ANYTHING HERE ?(Y/N):");
C2=b.readLine();
System.out.println();
if(C2.equalsIgnoreCase("Y"))
{
System.out.print("CHOOSE YOUR SNACK BY ENTERING THE NUMBER :");
snck=Integer.parseInt(b.readLine());
System.out.println();
System.out.print("ENTER THE TOTAL NUMBER OF SNACKS YOU WANT TO BUY :");
tot_snck=Integer.parseInt(b.readLine());
System.out.println("\f");
System.out.println("<<< STALL 2 BILL >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
if(snck>=18 && snck<=21)
{
System.out.println("ENTER 'S' FOR SMALL,'M' FOR MEDIUM,'L' FOR LARGE");
size=b.readLine();
if(size.equalsIgnoreCase("S"))
System.out.println("TOTAL COST IS RS."+tot_snck*45);
else if(size.equalsIgnoreCase("M"))
System.out.println("TOTAL COST IS RS."+tot_snck*55);
else if(size.equalsIgnoreCase("L"))
System.out.println("TOTAL COST IS RS."+tot_snck*65);
}
else if(snck>=22 && snck <=23)
System.out.println("TOTAL COST IS RS."+tot_snck*40);
else if(snck>=24 && snck <=25)
System.out.println("TOTAL COST IS RS."+tot_snck*65);
else if(snck>=26 && snck <=27)
System.out.println("TOTAL COST IS RS."+tot_snck*75);
else if(snck==28)
System.out.println("TOTAL COST IS RS."+tot_snck*35);
else if(snck>=29 && snck <=31)
System.out.println("TOTAL COST IS RS."+tot_snck*95);
else if(snck==32)
System.out.println("TOTAL COST IS RS."+tot_snck*105);
}
else
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("<<< STALL 3 >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("************* SECTION : MAIN COURSE *************");
System.out.println();
System.out.println("33. PAV BHAJI 34. CHANNA BHATURA");
System.out.println("35. SCHEZWAN FRIED RICE 36. CHICKEN BIRYANI");
System.out.println("37. CHICKEN NOODLES");
System.out.println();
String C3=new String();
System.out.print("DO YOU WANT YO BUY ANYTHING HERE ?(Y/N):");
C3=b.readLine();
System.out.println();
if(C3.equalsIgnoreCase("Y"))
{
System.out.println("CHOOSE YOUR MAIN COURSE BY ENTERING THE NUMBER :");
fd=Integer.parseInt(b.readLine());
System.out.println("ENTER THE TOTAL NUMBER OF SNACKS YOU WANT TO BUY");
tot_fd=Integer.parseInt(b.readLine());
System.out.println("\f");
System.out.println("<<<STALL 3 BILL>>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
if(fd==33 || fd==34)
System.out.println("TOTAL COST IS RS."+tot_fd*46);
else if(fd==35)
System.out.println("TOTAL COST IN RS."+tot_fd*60);
else if(fd==36 || fd==37)
System.out.println("TOTAL COST IN RS."+tot_fd*86);
}
else System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("<<< STALL 4 >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("*** SECTION : MELTING MOMENTS DESERTS ***");
System.out.println();
System.out.println("38. BANANA CHOCOLATE MOUSSE 39. BANANA CARAMEL PIE");
System.out.println("40. CHOCOLATE/WALNUT BROWNIE 41. CHOCOLATE DOUGHNUT");
System.out.println("42. MARBEL CAKE 43. MOCHA MAGIC");
System.out.println("44. BLACK FOREST GATEAUX");
String C4=new String();
System.out.print("DO YOU WANT YO BUY ANYTHING HERE ?(Y/N):");
C4=b.readLine();
System.out.println();
if(C4.equalsIgnoreCase("Y"))
{
System.out.println("CHOOSE YOUR DESSERT BY ENTERING THE NUMBER");
d=Integer.parseInt(b.readLine());
System.out.println("ENTER THE TOTAL NUMBER OF ITEMS YOU WANT TO BUY");
tot_d=Integer.parseInt(b.readLine());
System.out.println("<<<STALL 4 BILL>>>");
if(d==38 || d==39)
System.out.println("TOTAL COST IN RS."+tot_d*55);
else if(d==40 || d==41)
System.out.println("TOTAL COST IN RS."+tot_d*45);
else if(d==42)
System.out.println("TOTAL COST IN RS."+tot_d*60);
else if(d==43 || d==44)
System.out.println("TOTAL COST IN RS."+tot_d*65);
}
else
System.out.println(" ");
System.out.println("TO QUIT BUYING FROM FOOD ENTER 'Q'");
ans1=b.readLine();
}while((ans1.equalsIgnoreCase("Q"))!=true);
}
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("<<< CANCELLATION OF TICKETS >>>");int can=0;
do
{
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("1. TO CANCEL TICKET");
System.out.println("2. TO SKIP PROCESS");
System.out.print("ENTER YOUR CHOICE NUMBER :");
int choice=Integer.parseInt(b.readLine());
if(choice==1)
{
System.out.println("YOU HAVE CHOOSEN TO CANCEL THE TICKETS");
can=0;
CANCEL_TICKET();
}
else if(choice==2)
{
System.out.println("** YOU HAVE CHOOSEN NOT TO CANCEL THE TICKETS **");
can=0;
}
else
{
System.out.println(" ### WRONG CREDENTIALS ! ! ! ###");
can++;
}
}while(can!=0);
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("<<< OPTIONS >>>");int fe=0;
do
{
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("1. TO POST FEED-BACK");
System.out.println("2. TO POST QUERIES OR COMPLAINTS");
System.out.println("3. COMMING SOON MOVIES");
System.out.println("4. TO SKIP PROCESS");
System.out.print("ENTER YOUR CHOICE NUMBER :");
int choic=Integer.parseInt(b.readLine());
if(choic==1)
{
System.out.println("YOU HAVE CHOOSEN TO SAY YOUR FEEDBACK");
fe=0;
FEEDBACK();
}
else if(choic==2)
{
System.out.println("** YOU HAVE CHOOSEN TO SAY YOUR COMPLAINTS OR QUERIES ABOUT THIS WEBSITE TO OUR MANAGING DIRECTOR--S.ISHWARKUMAR **");
COMPLAINT();
fe=0;
}
else if(choic==3) COME_SOON();
else if(choic==4)
{
fe=0; }
else
{
System.out.println(" ### WRONG CREDENTIALS ! ! ! ###");
fe++;
}
}
while(fe!=0);
String _a=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println();
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
String _1a=b.readLine();
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓");
System.out.println("▓▓░░░░░░░░░░THANK YOU!!!░░░░░░░░░░░░░░░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░▒▒▒▒░░░▒▒▒▒░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒░▒▒▒▒▒▒░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒░░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒░░░░░░░░░▓▓");
System.out.println("▓▓░░░░░░░www.cinemaster.com░░░░░░░░▒░░░░░░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒░▒▒▒░░░▓▓");
System.out.println("▓▓░░░░An project by, ░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒░░░▓▓");
System.out.println("▓▓░░░░░░░░░S.ISHWARKUMAR...Xth░░░░░░░░▒▒▒▒▒░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒░░░░░░▓▓");
System.out.println("▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓");
System.out.println("_______▒__________▒▒▒▒▒▒▒▒▒▒▒▒▒▒");
System.out.println("______▒_______________▒▒▒▒▒▒▒▒");
System.out.println("_____▒________________▒▒▒▒▒▒▒▒");
System.out.println("____▒___________▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒");
System.out.println("___▒");
System.out.println("__▒______▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓");
System.out.println("_▒______▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓");
System.out.println("▒▒▒▒___▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓");
System.out.println("▒▒▒▒__▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓");
System.out.println("▒▒▒__▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓");
System.out.println("▒▒");
System.out.println("Visit www.cinemaster.com for every sort ofthings you need about CINEMAS");
System.out.println("Please type 'QUIT' to Exit from our valuable webpage or Enter 'START' to Start from the first");
ex=b.readLine();
if(ex.equalsIgnoreCase("quit"))
System.exit(0);
System.out.println("\f");
}while(ex.equalsIgnoreCase("start"));
}
public static void CANCEL_TICKET()throws IOException
{
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
Date date=new Date();
Calendar ca=Calendar.getInstance();
String t1="!@#$%^&*)(_www.cinemaster.com_)(*&^%$#@! search[____________]google ads";
String t2="\t\t\t\t|___________________________________________________________________| ";
String t=" ";
String t3="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DATE : "+date;
String t4="\t\t\t\t ',',',',',',',',',',CINEMASTER,',',',',',',',',','";
String t5="\t\t\t\t [CINEMAS's MASTER] ";
String t6="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TODAY : "
+ca.get(Calendar.DATE)+"/"+(ca.get(Calendar.MONTH)+1)+"/"+ca.get(Calendar.YEAR);
System.out.print("\nEnter the DATE for CANCELATION : ");
int d=Integer.parseInt(b.readLine());
int s=0,rem=0;
System.out.print("\nEnter the MONTH for CANCELATION : ");
int m=Integer.parseInt(b.readLine());
System.out.print("\nEnter the YEAR for CANCELATION : ");
int y=Integer.parseInt(b.readLine());
System.out.println("\nEnter the amount of ONE TICKET");
int tic=Integer.parseInt(b.readLine());
System.out.print("\nEnter the name of the theater : ");
String th=b.readLine();
System.out.print("\nEnter the name of the cinema : ");
String fl=b.readLine();
System.out.print("\nEnter the TIMING(2.00,6.00,10.00) ");
int ti=Integer.parseInt(b.readLine());
System.out.print("\nEnter the total QUANTITY of Tickets you reserved : ");
int q=Integer.parseInt(b.readLine());
System.out.println("\n40% of your payment will be reduced due to your cancelation.\nIf the film was over this will also be not reduced");
System.out.print("\n Enter your 10 digit Credit or Debit Card number ");
int cr=Integer.parseInt(b.readLine());
System.out.print("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
System.out.println("Transfer Successful ! ! !\n Rs."+(tic-(0.4*tic))+" is transfersd to your account...");
System.out.println(" ░██░▇▆▅▄▃▂");
System.out.println("────────────────────░█▓▓█░▇▆▅▄▃▂");
System.out.println("───────────────────░█▓▓▓█░▇▆▅▄▃▂");
System.out.println("──────────────────░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("─────────────────░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("──────────░░░───░█▓▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("─────────░███░──░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("───────░██░░░██░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("──────░█░░█░░░░██▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("────░██░░█░░░░░░█▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("───░█░░░█░░░░░░░██▓▓▓█░▇▆▅▄▃▂");
System.out.println("──░█░░░░█░░░░░░░░█▓▓▓█░▇▆▅▄▃▂");
System.out.println("──░█░░░░░█░░░░░░░░█▓▓▓█░▇▆▅▄▃▂");
System.out.println("──░█░░█░░░█░░░░░░░░█▓▓█░▇▆▅▄▃▂");
System.out.println("─░█░░░█░░░░██░░░░░░█▓▓█░▇▆▅▄▃▂");
System.out.println("─░█░░░░█░░░░░██░░░█▓▓▓█░▇▆▅▄▃▂");
System.out.println("─░█░█░░░█░░░░░░███▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("░█░░░█░░░██░░░░░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("░█░░░░█░░░░█████▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("░█░░░░░█░░░░░░░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("░█░█░░░░██░░░░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("─░█░█░░░░░████▓▓▓▓██░▇▆▅▄▃▂");
System.out.println("─░█░░█░░░░░░░█▓▓██▓█░▇▆▅▄▃▂");
System.out.println("──░█░░██░░░██▓▓█▓▓▓█░▇▆▅▄▃▂");
System.out.println("───░██░░███▓▓██▓█▓▓█░▇▆▅▄▃▂");
System.out.println("────░██▓▓▓███▓▓▓█▓▓▓█░▇▆▅▄▃▂");
System.out.println("──────░█▓▓▓▓▓▓▓▓█▓▓▓█░▇▆▅▄▃▂");
System.out.println("──────░█▓▓▓▓▓▓▓▓▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("Congrates ! Your ticket was successfully CANCELED");
String _2b=b.readLine();
}
public static void FEEDBACK()
{
Scanner s=new Scanner(System.in);
Date date=new Date();
Calendar ca=Calendar.getInstance();
String t1="!@#$%^&*)(_www.cinemaster.com_)(*&^%$#@! search[____________]google ads";
String t2="\t\t\t\t|___________________________________________________________________| ";
String t=" ";
String t3="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DATE : "+date;
String t4="\t\t\t\t ',',',',',',',',',',CINEMASTER,',',',',',',',',','";
String t5="\t\t\t\t [CINEMAS's MASTER] ";
String t6="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TODAY : "
+ca.get(Calendar.DATE)+"/"+(ca.get(Calendar.MONTH)+1)+"/"+ca.get(Calendar.YEAR);
System.out.print("ENTER YOUR NAME : --> ");String name=s.next();
System.out.print("ENTER YOUR MOBILE or LANDLINE NUMBER : --> ");String no=s.next();
System.out.print("ENTER YOUR EMAIL ID : --> ");String em=s.next();
System.out.println(" Now you can enter your kind feedback ");String fb=s.next();
System.out.println("WE ARE PLEASURELY ACCEPTING YOUR FEED BACK ");
}
public static void COMPLAINT()
{
Scanner s=new Scanner(System.in);
Date date=new Date();
Calendar ca=Calendar.getInstance();
String t1="!@#$%^&*)(_www.cinemaster.com_)(*&^%$#@! search[____________]google ads";
String t2="\t\t\t\t|___________________________________________________________________| ";
String t=" ";
String t3="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DATE : "+date;
String t4="\t\t\t\t ',',',',',',',',',',CINEMASTER,',',',',',',',',','";
String t5="\t\t\t\t [CINEMAS's MASTER] ";
String t6="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TODAY : "
+ca.get(Calendar.DATE)+"/"+(ca.get(Calendar.MONTH)+1)+"/"+ca.get(Calendar.YEAR);
System.out.print("ENTER YOUR NAME : --> ");String name=s.next();
System.out.print("ENTER YOUR MOBILE or LANDLINE NUMBER : --> ");String no=s.next();
System.out.print("ENTER YOUR EMAIL ID : --> ");String em=s.next();
System.out.println(" Now you can enter your kind QUERIES OR COMPLAINTS here ");String fb=s.next();
System.out.println("WE ARE ACCEPTING YOUR QUERIES OR COMPLAINTS ");
}
public static void COME_SOON()throws IOException
{
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
Date date=new Date();
Calendar ca=Calendar.getInstance();
String t1="!@#$%^&*)(_www.cinemaster.com_)(*&^%$#@! search[____________]google ads";
String t2="\t\t\t\t|___________________________________________________________________| ";
String t=" ";
String t3="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DATE : "+date;
String t4="\t\t\t\t ',',',',',',',',',',CINEMASTER,',',',',',',',',','";
String t5="\t\t\t\t [CINEMAS's MASTER] ";
String t6="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TODAY : "
+ca.get(Calendar.DATE)+"/"+(ca.get(Calendar.MONTH)+1)+"/"+ca.get(Calendar.YEAR);
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("YOU CAN SEE THE FULL DESCRIPTION OF THE MOVIE(S) IN 'www.cinemaster.com/comming_soon'");
System.out.println("Coming Soon >> ");
System.out.println("• ");
System.out.println("o Aranmanai");
System.out.println("o Aranmanai is about a family that wants to sell their ancestral home. The supernatural elements they discover there in the aranmanai (palace) lead to some bone-chilling moments. The film has an ");
System.out.println("Want to see (4)");
System.out.println("Not Really (1)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Autonagar Surya");
System.out.println("o `Autonagar Surya` is a forthcoming Telugu film directed by Deva Katta. `Autonagar Surya` is said to be a political thriller. This Tollywood film stars Naga Chaitanya and Samantha in the leading roles.");
System.out.println("Want to see (29)");
System.out.println("Not Really (3)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Ek Villain");
System.out.println("o The Villain is an upcoming action romance film directed by Mohit Suri. It features Siddharth Malhotra, Shraddha Kapoor and Riteish Deshmukh in the lead roles with Kamaal Rashid Khan as the antagonist.");
System.out.println("Want to see (265)");
System.out.println("Not Really (7)");
System.out.println("27 Jun");
System.out.println("2014");
String cm=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("•");
System.out.println("o Jigarthanda");
System.out.println("o The film is set in the city of Madurai and is a triangular love story between an aspiring filmmaker, a college student and a dangerous gangster.");
System.out.println("Want to see (5)");
System.out.println("Not Really (3)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Karthikeya");
System.out.println("o Nikhil Siddharth and Swati Reddy are back once again onscreen with Karthikeya. The mystery of the Subramanian Swamy temple which has remained closed for years is the crux of the movie. Local people in");
System.out.println("Want to see (8)");
System.out.println("Not Really (1)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Naya Pata");
System.out.println("o Naya Pata is an attempt at presenting a different perspective of migration. It shows how an immigrant feels helpless while trying to express the emotions of his two different worlds. He has lost the s");
System.out.println("Want to see (9)");
System.out.println("Not Really (1)");
System.out.println("27 Jun");
System.out.println("2014");
String cm2=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("• ");
System.out.println("o Power");
System.out.println("o No content is available. ");
System.out.println("Want to see (17)");
System.out.println("Not Really (2)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Ra Ra Krishnayya");
System.out.println("o No content is available for this movie. ");
System.out.println("Want to see (3)");
System.out.println("Not Really (1)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Transformers: Age Of Extinction (3D)");
System.out.println("o The film is the fourth in the Transformer franchise and picks up fours years after the invasion in Chicago. A mechanic and his daughter make a discovery that brings down Autobots and Decepticons - and");
System.out.println("Want to see (387)");
System.out.println("Not Really (1)");
System.out.println("27 Jun");
System.out.println("2014");
String cm3=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("• ");
System.out.println("o Saivam");
System.out.println("o ``Saivam`` is about the relationship between Sara and her pet rooster named Papa. And the events that unfold in her village following Papa`s disappearance. ");
System.out.println("Want to see (0)");
System.out.println("Not Really (1)");
System.out.println("29 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Earth to Echo");
System.out.println("o When a group of young friends begin to receive bizarre encrypted messages on their cellphones, they embark on an incredible adventure to discover the meaning behind these communications. Soon enough, ");
System.out.println("Want to see (22)");
System.out.println("Not Really (1)");
System.out.println("2 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Tammy");
System.out.println("oo Tammy (Melissa McCarthy) is having a bad day. She`s totaled her clunker car, gotten fired from her thankless job at a greasy burger joint, and instead of finding comfort at home, finds her husband, Gr");
System.out.println("Want to see (3)");
System.out.println("Not Really (2)");
System.out.println("2 Jul");
System.out.println("2014");
String cm4=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("• ");
System.out.println("o Athithi");
System.out.println("o Everything seems to be ordinary in the life of the protagonist, a successful architect, and his wife, until their daughter is kidnapped. The kidnapper begins assigning tasks to the couple, much to the");
System.out.println("Want to see (1)");
System.out.println("Not Really (1)");
System.out.println("4 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Bobby Jasoos");
System.out.println("o Bobby Jasoos is the story of Bobby (Vidya Balan), who aspires to become the best detective in Hyderabad. Bobby decides to open her own detective agency, where she finds an unusual set of clients.");
System.out.println("Want to see (6)");
System.out.println("Not Really (2)");
System.out.println("4 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Carry On Jatta 2 (Punjabi)");
System.out.println("o The film is a sequel to the super hit comedy film Carry On Jatta. The film promises to deliver double entertainment with its comedy packed punches. The film stars Gippy Grewal, Gurpreet Ghuggi, Binnu ");
System.out.println("Want to see (32)");
System.out.println("Not Really (1)");
System.out.println("4 Jul");
System.out.println("2014");
String cm5=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("• ");
System.out.println("o Lekar Hum Deewana Dil");
System.out.println("o Lekar Hum Deewana Dil follow the lives, lifestyles and attitudes of Dino and Karishma. The young and restless duo want to live life on their own terms, frolicking around the city and painting the town");
System.out.println("Want to see (3)");
System.out.println("Not Really (2)");
System.out.println("4 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o 1984 Punjab");
System.out.println("o The film stars Dilijit Dosanjh and it is story set during the Sikh riots of 1984. It is a story of a boy who has to leave his home, a riot stricken terrain. The film shows his story and challenges as ");
System.out.println("Want to see (39)");
System.out.println("Not Really (1)");
System.out.println("11 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Dawn of the Planet of the Apes");
System.out.println("o The film is a sci-fi and a sequel to 2011 film Rise of Planet of Apes. Only a few human survivors when threaten to destroy the Ape nation led by Caesar, the war breaks. It is the fittest who will surv");
System.out.println("Want to see (107)");
System.out.println("Not Really (1)");
System.out.println("11 Jul");
System.out.println("2014");
System.out.println("• ");
String cm6=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("o Humpty Sharma Ki Dulhania");
System.out.println("o When Kavya Pratap Singh, a chirpy, yet feisty girl from Ambala, decides to make a trip to Delhi to shop for her wedding, she meets a young, carefree Delhi lad, Humpty Sharma. Kavya is initially unatta");
System.out.println("Want to see (24)");
System.out.println("Not Really (2)");
System.out.println("11 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Munna Mange Memsaab");
System.out.println("o No content is available for this movie. ");
System.out.println("Want to see (0)");
System.out.println("Not Really (1)");
System.out.println("11 Jul");
System.out.println("2014");
System.out.println("•");
System.out.println("o Uttama Villain");
System.out.println("o Uthama Villain is a Tamil comedy film directed by Ramesh Aravind. The film is co-written and co-produced by Kamal Haasan, who also stars in the lead role alongside Parvathi.");
System.out.println("Want to see (12)Not Really (3)");
System.out.println("11 Jul");
System.out.println("2014");
System.out.println("•");
System.out.println("o Vishwaroopam 2");
System.out.println("o A sequel to the film Vishwaroopam which brewed political storm as soon as it was released. The film takes up from where the first ended. After escape from Omar, the story continues in India. The film ");
System.out.println("Want to see (88)Not Really (3)");
System.out.println("11 Jul");
System.out.println("2014");
String cm7=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
}
}
/**
* This is a class as a website that is used to book your tickets for your favorite new cinemas in popular theaters...
* You can also order you food in your theaters to fully enjoy your cinema...
* Follow the instruction during the running and you can book your cinema ticket Successfully...
* @author (S.Ishwarkumar_10th std.)
* @version (The first version of www.cinemaster.com <1.0.0> . You can find many options of booking your ticket.)
*/
import java.io.*;
import java.util.*;
class C_I_N_E_M_A_S_T_E_R
{
public static void C_I_N_E_M_A_S_T_E_R()throws IOException
{
String ex;
do{
Date date=new Date();
Calendar ca=Calendar.getInstance();
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
String th="";int r=0,fd,tot_fd=0,tot_d,bvrg,tot_bvrg,snck,tot_snck,fl=0,q,w=0;int d=0,m=0,y=0;
int rem=0;int s=0;int cr=0;float ti=0;String a1=" ",ans1,size;
String t1="п !@#$%^&*)(_www.cinemaster.com_)(*&^%$#@! search[____________]google ads";
String t2="п \t\t\t\t|___________________________________________________________________| ";
String t= "п ";
String t3="п \t\t\t\t•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• DATE : "+date;
String t4="п \t\t\t\t• ',',',',',',',',',',CINEMASTER,',',',',',',',',',' •";
String t5="п \t\t\t\t• [CINEMAS's MASTER] •";
String t6="п \t\t\t\t•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• TODAY : "
+ca.get(Calendar.DATE)+"/"+(ca.get(Calendar.MONTH)+1)+"/"+ca.get(Calendar.YEAR);
String z1="\t\t\t\t ச் *********** * * * * * * * வ் ██░▀██████████████▀░██ ";
String z2="\t\t\t\t ச் * * * * * * * * * * வ் █▌▒▒░████████████░▒▒▐█ ";
String z3="\t\t\t\t ச் * * * * * * * * * * வ் █░▒▒▒░██████████░▒▒▒░█ ";
String z4="\t\t\t\t ச் * ********* * * * * * ** வ் ▌░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▐ ";
String z5="\t\t\t\t ச் * * * ********* * * * * * வ் ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░";
String z6="\t\t\t\t ச் * * * * * * ** * * வ் ███▀▀▀██▄▒▒▒▒▒▒▒▄██▀▀▀██ ";
String z7="\t\t\t\t ச் * * * * * * * * * வ் ██░░░▐█░▀█▒▒▒▒▒█▀░█▌░░░█ ";
String z8="\t\t\t\t ச் வ் ▐▌░░░▐▄▌░▐▌▒▒▒▐▌░▐▄▌░░▐▌ ";
String z9="\t\t\t\t ச் வ் █░░░▐█▌░░▌▒▒▒▐░░▐█▌░░█ ";
String z10="\t\t\t\tவ் * * * * * * * வ் ▒▀▄▄▄█▄▄▄▌░▄░▐▄▄▄█▄▄▀▒ ";
String z11="\t\t\t\tவ் * * * * * * வ் ░░░░░░░░░░└┴┘░░░░░░░░░ ";
String z12="\t\t\t\tவ் * * * * * * வ் ██▄▄░░░░░░░░░░░░░░▄▄██ ";
String z13="\t\t\t\tவ் * * * * * வ் ████████▒▒▒▒▒▒████████ ";
String z14="\t\t\t\tவ் * * * * * வ் ";
String z15="\t\t\t\tவ் * * * * * * * வ் ";
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println("\t\t\t\t YOU HAVE CAME TO AN EXCLUSIVE WEBSITE - The Master Of Cinemas");
System.out.println(" ");
String _1=b.readLine();
System.out.println(" So,Shall we start now?");
String _2=b.readLine();
System.out.println(" LETS JUMP INTO THE WORLD OF CINEMAS");
String _3=b.readLine();
System.out.println(" First tell the place where you live");
System.out.println("Madurai,\nChennai,\nHyderabad,\nBanglore,\nMumbai\nor Kolkata ?");
String cty=b.readLine();
do
{
if(cty.equalsIgnoreCase("madurai"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ "AMBIGHA\nJAZZ\nALANGHAR\nGANESH" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("ambigha"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" AMBIGA CINEMAS_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)EDHU KADHIRVELAN KAADHAL\n2)AAHA KALYAANAM");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.110");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=110*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : AMBHIGHA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : EDHU KATHIRVELAN KAADAL ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : AMBHIGHA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : EDHU KATHIRVELAN KAADAL ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{
System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.100");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=100*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : AMBHIGHA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AAHA KALYANAM ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : AMBHIGHA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AAHAA KALYANAM ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}}}
else if(th.equalsIgnoreCase("jazz"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" JAZZ_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)BRAMMAN\n2)PAPPAALI");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.120");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=120*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : JAZZ ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : BRAMMAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : JAZZ ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : BRAMMAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.78");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=78*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : JAZZ ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PAPPAALI ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : JAZZ ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PAPPAALI ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("alanghar"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ALANGHAR_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)ACTION KIDS");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.65");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=65*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ALANGHAR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : ACTION KIDS ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ALANGHAR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : ACTION KIDS ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(23+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("ganesh"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ganesh_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Aayirathil Oruvan[RESTORED VERSION]");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.200");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=200*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ADLABS GANESH ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AAYIRATHIL ORUVAN[Restored Version]");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : GANESH ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AAYIRATHIL ORUVAN[Restored Version]");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}}
else if(cty.equalsIgnoreCase("chennai"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ "SATHYAM\nESCAPE\nMAYAJAAL\nPVR" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("sathyam"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" SATHYAM CINEMAS_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)MAAN KARATHE\n2)NAAN SIGAPPU MANITHAN");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.125");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=125*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SATHYAM MULTIPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : MAAN KARATHE ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-12 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : SATHYAM MULTIPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : MAAN KARATHE ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-12 to A-"+(12+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.154");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=154*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SATHYAM MULTIPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : NAAN SIGAPPU MANITHAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SATHYAM MULTIPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : NAAN SIGAPPU MANITHAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-26 to A-"+(26+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(th.equalsIgnoreCase("escape"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ESCAPE_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)ENNAMO NADAKKUTHU\n2)THEGIDI");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.95");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=95*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ESCAPE CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : ENNAMO NADAKUTHU ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-58 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ESCAPE CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : ENNAMO NADAKUTHU ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-59 to A-"+(59+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.89");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=89*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ESCAPE CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : THEGIDI ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-19 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ESCAPE CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : THEGIDI ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-19 to A-"+(19+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("MAYAJAAL"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" MAYAJAAL_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)THENALIRAAMAN");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.162");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=162*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : MAYAJAAL CINEPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : THENALIRAAMAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-65 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : MAYAJAAL CINEPLEX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : THENALIRAAMAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-34 to A-"+(34+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("PVR"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" PVR_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)AGADAM");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.45");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=45*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : PVR CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AGADAM ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : PVR CINEMAS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AGADAM");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
if(cty.equalsIgnoreCase("hyderabad"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ "SRINIVASA\nSHANTI\nKUMAR\nDEVI 70MM" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("srinivasa"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" SRINIVASA CINEMAS_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)MANAM\n2)AMRUTHAM CHANNDHAMAMA LO");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.110");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=110*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SRINIVASA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : MANAM ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : SRINIVASA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : MANAM ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{
System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.100");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=100*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SRINIVASA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AMRUTHAM CHANNDHAMAMA LO ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SRINIVASA ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : AMRUTHAM CHANNDHAMAMA LO ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}}}
else if(th.equalsIgnoreCase("SHANTI"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" SHANTI_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)RAKSHAKUDU\n2)PRABHANJAN");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.120");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=120*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SHANTI DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : RAKSHAKUDU ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SHANTI DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : RAKSHAKUDU ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.78");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=78*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SHANTI DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PRABHANJAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : SHANTI DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PRABHANJAN ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("KUMAR"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" KUMAR_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)PRATIGHATANA");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.65");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=65*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : KUMAR 70 MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PRATIGHATANA ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : KUMAR 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : PRATIGHATANA ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(23+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("DEVI"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" DEVI 70MM_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)TAFFIC");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.200");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=200*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : DEVI 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : TAFFIC");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : DEVI 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : TAFFIC");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}} if(cty.equalsIgnoreCase("Banglore"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ "Vision Cinemas\nCauvery Theatre\nNataraj Theatre\nLavanya Theatre" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("Vision"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Vision Cinemas CINEMAS_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Pungi Daasa\n2)Savaari 2");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.110");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=110*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Vision Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Pungi Daasa ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : Vision Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Pungi Daasa ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{
System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.100");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=100*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Vision Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Savaari 2 ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Vision Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Savaari 2 ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}}}
else if(th.equalsIgnoreCase("Cauvery"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Cauvery Theatre_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Gajakesari\n2)Hara");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.120");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=120*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Cauvery Theatre DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Gajakesari ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Cauvery Theatre DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Gajakesari ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.78");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=78*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Cauvery Theatre DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Hara ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Cauvery Theatre DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Hara ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("Nataraj"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Nataraj Theatre_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Maanikya");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.65");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=65*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Nataraj Theatre 70 MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Maanikya ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Nataraj Theatre 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Maanikya ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(23+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("Lavanya"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Lavanya Theatre_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Ragini IPS");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.200");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=200*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Lavanya Theatre ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Ragini IPS");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Lavanya Theatre ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Ragini IPS");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}} if(cty.equalsIgnoreCase("Kolkata"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ "PVR CINEMAS\nINOX: Hiland Park\nRDB Cinemas: Salt Lake\nCineMAX" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("PVR"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" PVR CINEMAS_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Sudhui Anubhab\n2)Bhaarate");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.110");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=110*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : PVR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Sudhui Anubhab ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : PVR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Sudhui Anubhab ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{
System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.100");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=100*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : PVR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Bhaarate ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : PVR ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Bhaarate ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}}}
else if(th.equalsIgnoreCase("INOX"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ?INOX: Hiland Park_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Picnic\n2)Teen Patti");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.120");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=120*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?INOX: Hiland Park DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Picnic ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?INOX: Hiland Park DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Picnic ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.78");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=78*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?INOX: Hiland Park DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Teen Patti ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?INOX: Hiland Park DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Teen Patti ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("RDB"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ?RDB Cinemas: Salt Lake_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Aagun");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.65");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=65*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?RDB Cinemas: Salt Lake 70 MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Aagun ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?RDB Cinemas: Salt Lake 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Aagun ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(23+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("CineMAX"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" CineMAX_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Path Ghat");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.200");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=200*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : CineMAX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Path Ghat");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : CineMAX ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Path Ghat");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}}
if(cty.equalsIgnoreCase("Mumbai"))
{
System.out.println(" So, Now you can enter the Theter where did you want to watch the Cinema");
System.out.println(" The 4 Popular Theters are:-"+"\n"+ " Sterling Cineplex\nMETRO BIG Cinemas\nEros Cinema\nGALAXY Cinemas" );
th=b.readLine();
System.out.println("\f ");
if(th.equalsIgnoreCase("Sterling"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Sterling Cineplex_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Citylights\n2)Tum Ho Yaara");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.110");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=110*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Sterling Cineplex ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Citylights ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" _________________________________________________ ");
System.out.println("| THETER : Sterling Cineplex ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Citylights ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{
System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.100");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=100*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Sterling Cineplex ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Tum Ho Yaara ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Sterling Cineplex ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Tum Ho Yaara ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}}}
else if(th.equalsIgnoreCase("METRO BIG"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ?METRO BIG Cinemas_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There are two flims runing in this Theter");
System.out.println(" They are:-\n1)Heropanti\n2)Kuku Mathur Ki Jhand Ho Gayi");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.120");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=120*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?METRO BIG Cinemas DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Heropanti ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?METRO BIG Cinemas DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Heropanti ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(fl==2)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.78");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=78*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?METRO BIG Cinemas DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Kuku Mathur Ki Jhand Ho Gayi ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : ?METRO BIG Cinemas DTS ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Kuku Mathur Ki Jhand Ho Gayi ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(17+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else if(th.equalsIgnoreCase("Eros"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" Eros Cinema_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Aahinsa-The Untold Story");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.65");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=65*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Eros Cinema 70 MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Aahinsa-The Untold Story ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-23 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : Eros Cinema 70MM ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Aahinsa-The Untold Story ");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-17 to A-"+(23+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
else if(th.equalsIgnoreCase("GALAXY"))
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" GALAXY Cinemas_dts a/c ");
System.out.println(" ");
System.out.println(" ");
System.out.println("Enter the DATE ");
d=Integer.parseInt(b.readLine());
System.out.println("Enter the MONTH ");
m=Integer.parseInt(b.readLine());
System.out.println("Enter the YEAR ");
y=Integer.parseInt(b.readLine());
System.out.println("Enter the TIMING(2.00,6.00,10.00) ");
ti=Float.parseFloat(b.readLine());
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" There is one flim runing in this Theter");
System.out.println(" They are:-\n1)Ek Villain");
System.out.println(" ");
System.out.println(" Enter the number according to the film");
fl=Integer.parseInt(b.readLine());
if(fl==1)
{
System.out.println(" ");
System.out.println(" ");
System.out.println("The rate of the ticket of the film is Rs.200");
System.out.println(" ");
System.out.println(" Enter the quantity of tickets");
q=Integer.parseInt(b.readLine());
r=200*q;
System.out.println(" ");
System.out.println(" Enter your 10 digit Credit or Debit Card number ");
cr=Integer.parseInt(b.readLine());
System.out.println("\f ");
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
if(s==10)
{
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("Amount paid SUCCESSFUL ");
System.out.println("Rs."+r+" is Transfered from your Account");
System.out.println(" ");
System.out.println(" ");
System.out.println("::::::::::::Your ticket is ready::::::::::::: ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
if(q==1)
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : GALAXY Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Ek Villain");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
}
else
{
System.out.println(" __________________________________________________");
System.out.println("| THETER : GALAXY Cinemas ");
System.out.println("| DATE : "+d+"/"+m+"/"+y+" ");
System.out.println("| FILM : Ek Villain");
System.out.println("| TIMING : "+ti+"pm ");
System.out.println("| CLASS : FIRST CLASS ");
System.out.println("| SEATS : A-56 to A-"+(56+q)+" ");
System.out.println("| NO.OF.TICKETS: "+q+" ");
System.out.println("| AMOUNT : Rs."+r+"(incl. of all taxes) ");
System.out.println("|__________________________________________________");
System.out.println(" ");
System.out.println(" ");
System.out.println(" ");
}
}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}}
else
{System.out.println("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println("\t\t\t\tWRONG CREDENTIALS !!!");
System.out.println(" ");
System.out.println("Kindly start from first ! ");
System.out.println("Enter 1 to start from first or 2 to Quit ");
w=Integer.parseInt(b.readLine());
if(w==1)
C_I_N_E_M_A_S_T_E_R();
else
{
System.out.println(" \f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println(" ");
System.out.println(" ");
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
}
}
}
}
if(w!=1)
{
System.out.println("Enter |'Q'| to Get out of Cinema TICKET Resarvation");
a1=b.readLine();
}
}while(a1.equalsIgnoreCase("q")!=true);
System.out.println("Enter 1 if you reserved a ticket or enter 2 : ");
int res=Integer.parseInt(b.readLine());
if(res==1)
{
do
{System.out.println("\f");
if(res==1)
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("*********** WELCOME TO THE SNACK BAR OF CINEMASTER website ************");
System.out.println();
System.out.println(" THEATER : "+th.toUpperCase());
System.out.println("<<< STALL 1 >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("********** SECTION : CHILLED BEVERAGES **********");
System.out.println();
System.out.println("1. COCA COLA 2. SPRITE");
System.out.println("3. FRUITI 4. SEVEN UP");
System.out.println("5. DIET PEPSI 6. COLD COFEE");
System.out.println("7. ICE TEA 8. CHOCOLATE KRUSHERS");
System.out.println("9. BLACKBERRY KRUSHERS 10.LEMON N ICETEA");
System.out.println();
System.out.println("********** SECTION : PIPING HOT DRINKS **********");
System.out.println();
System.out.println("11. TEA REGULAR 12. HOT LEMON TEA");
System.out.println("13. ESPRESSO 14. CAFEMACHO");
System.out.println("15. CAPPUCINO 16. CAFE LATTE");
System.out.println("17. IRISH COFEE");
System.out.println();
String C1=new String();
System.out.print("DO YOU WANT YO BUY ANYTHING HERE ?(Y/N):");
C1=b.readLine();
System.out.println();
if(C1.equalsIgnoreCase("Y"))
{
System.out.print("CHOOSE YOUR BEVERAGE BY ENTERING THE NUMBER :");
bvrg=Integer.parseInt(b.readLine());
System.out.print("ENTER THE TOTAL NUMBER OF BEVERAGE YOU WANT TO BUY :");
tot_bvrg=Integer.parseInt(b.readLine());
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("\f");
System.out.println("<<< STALL 1 BILL >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
if(bvrg>=1 && bvrg<=7)
System.out.println("TOTAL COST IS RS."+(tot_bvrg*45));
else if (bvrg>=8 && bvrg<=10)
System.out.println("THE TOTAL COST IN Rs"+(tot_bvrg*55));
else if (bvrg>=11 && bvrg<=12)
System.out.println("THE TOTAL COST IN Rs"+(tot_bvrg*65));
else if (bvrg>=13 && bvrg<=17)
System.out.println("THE TOTAL COST IN Rs"+(tot_bvrg*75));
System.out.println();
}
else System.out.println("\f" );
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("<<< STALL 2 >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("************* SECTION : QUICK BITES *************");
System.out.println();
System.out.println();
System.out.println("18. POP CORN[REGULAR] 19. POP CORN[CHEESE]");
System.out.println("20. POP CORN[CARAMEL] 21. POP CORN[TANGY TOMATO]");
System.out.println("22. VEG SAMOSA 23. VEG PUFF");
System.out.println("24. VEG QUICHE 25. VEG PIZZA");
System.out.println("26. VEG CROISSANT 27. VEG BURGER");
System.out.println("28. FRENCH FRIES 29. CHICKEN PUFF ROLL");
System.out.println("30. MULTI GRAIN CHICKEN SANDWICH 31. FOCCACCIA CHICKEN SANDWICH");
System.out.println("32. CHICKEN SUBMARINE");
String C2=new String();
System.out.println();
System.out.print("DO YOU WANT YO BUY ANYTHING HERE ?(Y/N):");
C2=b.readLine();
System.out.println();
if(C2.equalsIgnoreCase("Y"))
{
System.out.print("CHOOSE YOUR SNACK BY ENTERING THE NUMBER :");
snck=Integer.parseInt(b.readLine());
System.out.println();
System.out.print("ENTER THE TOTAL NUMBER OF SNACKS YOU WANT TO BUY :");
tot_snck=Integer.parseInt(b.readLine());
System.out.println("\f");
System.out.println("<<< STALL 2 BILL >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
if(snck>=18 && snck<=21)
{
System.out.println("ENTER 'S' FOR SMALL,'M' FOR MEDIUM,'L' FOR LARGE");
size=b.readLine();
if(size.equalsIgnoreCase("S"))
System.out.println("TOTAL COST IS RS."+tot_snck*45);
else if(size.equalsIgnoreCase("M"))
System.out.println("TOTAL COST IS RS."+tot_snck*55);
else if(size.equalsIgnoreCase("L"))
System.out.println("TOTAL COST IS RS."+tot_snck*65);
}
else if(snck>=22 && snck <=23)
System.out.println("TOTAL COST IS RS."+tot_snck*40);
else if(snck>=24 && snck <=25)
System.out.println("TOTAL COST IS RS."+tot_snck*65);
else if(snck>=26 && snck <=27)
System.out.println("TOTAL COST IS RS."+tot_snck*75);
else if(snck==28)
System.out.println("TOTAL COST IS RS."+tot_snck*35);
else if(snck>=29 && snck <=31)
System.out.println("TOTAL COST IS RS."+tot_snck*95);
else if(snck==32)
System.out.println("TOTAL COST IS RS."+tot_snck*105);
}
else
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("<<< STALL 3 >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("************* SECTION : MAIN COURSE *************");
System.out.println();
System.out.println("33. PAV BHAJI 34. CHANNA BHATURA");
System.out.println("35. SCHEZWAN FRIED RICE 36. CHICKEN BIRYANI");
System.out.println("37. CHICKEN NOODLES");
System.out.println();
String C3=new String();
System.out.print("DO YOU WANT YO BUY ANYTHING HERE ?(Y/N):");
C3=b.readLine();
System.out.println();
if(C3.equalsIgnoreCase("Y"))
{
System.out.println("CHOOSE YOUR MAIN COURSE BY ENTERING THE NUMBER :");
fd=Integer.parseInt(b.readLine());
System.out.println("ENTER THE TOTAL NUMBER OF SNACKS YOU WANT TO BUY");
tot_fd=Integer.parseInt(b.readLine());
System.out.println("\f");
System.out.println("<<<STALL 3 BILL>>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
if(fd==33 || fd==34)
System.out.println("TOTAL COST IS RS."+tot_fd*46);
else if(fd==35)
System.out.println("TOTAL COST IN RS."+tot_fd*60);
else if(fd==36 || fd==37)
System.out.println("TOTAL COST IN RS."+tot_fd*86);
}
else System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("<<< STALL 4 >>>");
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("*** SECTION : MELTING MOMENTS DESERTS ***");
System.out.println();
System.out.println("38. BANANA CHOCOLATE MOUSSE 39. BANANA CARAMEL PIE");
System.out.println("40. CHOCOLATE/WALNUT BROWNIE 41. CHOCOLATE DOUGHNUT");
System.out.println("42. MARBEL CAKE 43. MOCHA MAGIC");
System.out.println("44. BLACK FOREST GATEAUX");
String C4=new String();
System.out.print("DO YOU WANT YO BUY ANYTHING HERE ?(Y/N):");
C4=b.readLine();
System.out.println();
if(C4.equalsIgnoreCase("Y"))
{
System.out.println("CHOOSE YOUR DESSERT BY ENTERING THE NUMBER");
d=Integer.parseInt(b.readLine());
System.out.println("ENTER THE TOTAL NUMBER OF ITEMS YOU WANT TO BUY");
tot_d=Integer.parseInt(b.readLine());
System.out.println("<<<STALL 4 BILL>>>");
if(d==38 || d==39)
System.out.println("TOTAL COST IN RS."+tot_d*55);
else if(d==40 || d==41)
System.out.println("TOTAL COST IN RS."+tot_d*45);
else if(d==42)
System.out.println("TOTAL COST IN RS."+tot_d*60);
else if(d==43 || d==44)
System.out.println("TOTAL COST IN RS."+tot_d*65);
}
else
System.out.println(" ");
System.out.println("TO QUIT BUYING FROM FOOD ENTER 'Q'");
ans1=b.readLine();
}while((ans1.equalsIgnoreCase("Q"))!=true);
}
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("<<< CANCELLATION OF TICKETS >>>");int can=0;
do
{
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("1. TO CANCEL TICKET");
System.out.println("2. TO SKIP PROCESS");
System.out.print("ENTER YOUR CHOICE NUMBER :");
int choice=Integer.parseInt(b.readLine());
if(choice==1)
{
System.out.println("YOU HAVE CHOOSEN TO CANCEL THE TICKETS");
can=0;
CANCEL_TICKET();
}
else if(choice==2)
{
System.out.println("** YOU HAVE CHOOSEN NOT TO CANCEL THE TICKETS **");
can=0;
}
else
{
System.out.println(" ### WRONG CREDENTIALS ! ! ! ###");
can++;
}
}while(can!=0);
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("<<< OPTIONS >>>");int fe=0;
do
{
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
System.out.println("1. TO POST FEED-BACK");
System.out.println("2. TO POST QUERIES OR COMPLAINTS");
System.out.println("3. COMMING SOON MOVIES");
System.out.println("4. TO SKIP PROCESS");
System.out.print("ENTER YOUR CHOICE NUMBER :");
int choic=Integer.parseInt(b.readLine());
if(choic==1)
{
System.out.println("YOU HAVE CHOOSEN TO SAY YOUR FEEDBACK");
fe=0;
FEEDBACK();
}
else if(choic==2)
{
System.out.println("** YOU HAVE CHOOSEN TO SAY YOUR COMPLAINTS OR QUERIES ABOUT THIS WEBSITE TO OUR MANAGING DIRECTOR--S.ISHWARKUMAR **");
COMPLAINT();
fe=0;
}
else if(choic==3) COME_SOON();
else if(choic==4)
{
fe=0; }
else
{
System.out.println(" ### WRONG CREDENTIALS ! ! ! ###");
fe++;
}
}
while(fe!=0);
String _a=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println();
System.out.println(z1+"\n"+z2+"\n"+z3+"\n"+z4+"\n"+z5+"\n"+z6+"\n"+z7+"\n"+z8+"\n"+z9+"\n"+z10+"\n"+z11+"\n"+z12+"\n"+z13+"\n"+z14+"\n"+z15);
String _1a=b.readLine();
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓");
System.out.println("▓▓░░░░░░░░░░THANK YOU!!!░░░░░░░░░░░░░░░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░▒▒▒▒░░░▒▒▒▒░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒░▒▒▒▒▒▒░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒░░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒░░░░░░░░░▓▓");
System.out.println("▓▓░░░░░░░www.cinemaster.com░░░░░░░░▒░░░░░░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒░▒▒▒░░░▓▓");
System.out.println("▓▓░░░░An project by, ░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒░░░▓▓");
System.out.println("▓▓░░░░░░░░░S.ISHWARKUMAR...Xth░░░░░░░░▒▒▒▒▒░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒░░░░░▓▓");
System.out.println("▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒░░░░░░▓▓");
System.out.println("▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓");
System.out.println("_______▒__________▒▒▒▒▒▒▒▒▒▒▒▒▒▒");
System.out.println("______▒_______________▒▒▒▒▒▒▒▒");
System.out.println("_____▒________________▒▒▒▒▒▒▒▒");
System.out.println("____▒___________▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒");
System.out.println("___▒");
System.out.println("__▒______▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓");
System.out.println("_▒______▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓");
System.out.println("▒▒▒▒___▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓");
System.out.println("▒▒▒▒__▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓▒▓");
System.out.println("▒▒▒__▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓");
System.out.println("▒▒");
System.out.println("Visit www.cinemaster.com for every sort ofthings you need about CINEMAS");
System.out.println("Please type 'QUIT' to Exit from our valuable webpage or Enter 'START' to Start from the first");
ex=b.readLine();
if(ex.equalsIgnoreCase("quit"))
System.exit(0);
System.out.println("\f");
}while(ex.equalsIgnoreCase("start"));
}
public static void CANCEL_TICKET()throws IOException
{
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
Date date=new Date();
Calendar ca=Calendar.getInstance();
String t1="!@#$%^&*)(_www.cinemaster.com_)(*&^%$#@! search[____________]google ads";
String t2="\t\t\t\t|___________________________________________________________________| ";
String t=" ";
String t3="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DATE : "+date;
String t4="\t\t\t\t ',',',',',',',',',',CINEMASTER,',',',',',',',',','";
String t5="\t\t\t\t [CINEMAS's MASTER] ";
String t6="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TODAY : "
+ca.get(Calendar.DATE)+"/"+(ca.get(Calendar.MONTH)+1)+"/"+ca.get(Calendar.YEAR);
System.out.print("\nEnter the DATE for CANCELATION : ");
int d=Integer.parseInt(b.readLine());
int s=0,rem=0;
System.out.print("\nEnter the MONTH for CANCELATION : ");
int m=Integer.parseInt(b.readLine());
System.out.print("\nEnter the YEAR for CANCELATION : ");
int y=Integer.parseInt(b.readLine());
System.out.println("\nEnter the amount of ONE TICKET");
int tic=Integer.parseInt(b.readLine());
System.out.print("\nEnter the name of the theater : ");
String th=b.readLine();
System.out.print("\nEnter the name of the cinema : ");
String fl=b.readLine();
System.out.print("\nEnter the TIMING(2.00,6.00,10.00) ");
int ti=Integer.parseInt(b.readLine());
System.out.print("\nEnter the total QUANTITY of Tickets you reserved : ");
int q=Integer.parseInt(b.readLine());
System.out.println("\n40% of your payment will be reduced due to your cancelation.\nIf the film was over this will also be not reduced");
System.out.print("\n Enter your 10 digit Credit or Debit Card number ");
int cr=Integer.parseInt(b.readLine());
System.out.print("\f ");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
while(cr>0)
{
rem=cr%10;
cr=cr/10;
s++;
}
System.out.println("Transfer Successful ! ! !\n Rs."+(tic-(0.4*tic))+" is transfersd to your account...");
System.out.println(" ░██░▇▆▅▄▃▂");
System.out.println("────────────────────░█▓▓█░▇▆▅▄▃▂");
System.out.println("───────────────────░█▓▓▓█░▇▆▅▄▃▂");
System.out.println("──────────────────░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("─────────────────░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("──────────░░░───░█▓▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("─────────░███░──░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("───────░██░░░██░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("──────░█░░█░░░░██▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("────░██░░█░░░░░░█▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("───░█░░░█░░░░░░░██▓▓▓█░▇▆▅▄▃▂");
System.out.println("──░█░░░░█░░░░░░░░█▓▓▓█░▇▆▅▄▃▂");
System.out.println("──░█░░░░░█░░░░░░░░█▓▓▓█░▇▆▅▄▃▂");
System.out.println("──░█░░█░░░█░░░░░░░░█▓▓█░▇▆▅▄▃▂");
System.out.println("─░█░░░█░░░░██░░░░░░█▓▓█░▇▆▅▄▃▂");
System.out.println("─░█░░░░█░░░░░██░░░█▓▓▓█░▇▆▅▄▃▂");
System.out.println("─░█░█░░░█░░░░░░███▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("░█░░░█░░░██░░░░░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("░█░░░░█░░░░█████▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("░█░░░░░█░░░░░░░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("░█░█░░░░██░░░░█▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("─░█░█░░░░░████▓▓▓▓██░▇▆▅▄▃▂");
System.out.println("─░█░░█░░░░░░░█▓▓██▓█░▇▆▅▄▃▂");
System.out.println("──░█░░██░░░██▓▓█▓▓▓█░▇▆▅▄▃▂");
System.out.println("───░██░░███▓▓██▓█▓▓█░▇▆▅▄▃▂");
System.out.println("────░██▓▓▓███▓▓▓█▓▓▓█░▇▆▅▄▃▂");
System.out.println("──────░█▓▓▓▓▓▓▓▓█▓▓▓█░▇▆▅▄▃▂");
System.out.println("──────░█▓▓▓▓▓▓▓▓▓▓▓▓▓█░▇▆▅▄▃▂");
System.out.println("Congrates ! Your ticket was successfully CANCELED");
String _2b=b.readLine();
}
public static void FEEDBACK()
{
Scanner s=new Scanner(System.in);
Date date=new Date();
Calendar ca=Calendar.getInstance();
String t1="!@#$%^&*)(_www.cinemaster.com_)(*&^%$#@! search[____________]google ads";
String t2="\t\t\t\t|___________________________________________________________________| ";
String t=" ";
String t3="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DATE : "+date;
String t4="\t\t\t\t ',',',',',',',',',',CINEMASTER,',',',',',',',',','";
String t5="\t\t\t\t [CINEMAS's MASTER] ";
String t6="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TODAY : "
+ca.get(Calendar.DATE)+"/"+(ca.get(Calendar.MONTH)+1)+"/"+ca.get(Calendar.YEAR);
System.out.print("ENTER YOUR NAME : --> ");String name=s.next();
System.out.print("ENTER YOUR MOBILE or LANDLINE NUMBER : --> ");String no=s.next();
System.out.print("ENTER YOUR EMAIL ID : --> ");String em=s.next();
System.out.println(" Now you can enter your kind feedback ");String fb=s.next();
System.out.println("WE ARE PLEASURELY ACCEPTING YOUR FEED BACK ");
}
public static void COMPLAINT()
{
Scanner s=new Scanner(System.in);
Date date=new Date();
Calendar ca=Calendar.getInstance();
String t1="!@#$%^&*)(_www.cinemaster.com_)(*&^%$#@! search[____________]google ads";
String t2="\t\t\t\t|___________________________________________________________________| ";
String t=" ";
String t3="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DATE : "+date;
String t4="\t\t\t\t ',',',',',',',',',',CINEMASTER,',',',',',',',',','";
String t5="\t\t\t\t [CINEMAS's MASTER] ";
String t6="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TODAY : "
+ca.get(Calendar.DATE)+"/"+(ca.get(Calendar.MONTH)+1)+"/"+ca.get(Calendar.YEAR);
System.out.print("ENTER YOUR NAME : --> ");String name=s.next();
System.out.print("ENTER YOUR MOBILE or LANDLINE NUMBER : --> ");String no=s.next();
System.out.print("ENTER YOUR EMAIL ID : --> ");String em=s.next();
System.out.println(" Now you can enter your kind QUERIES OR COMPLAINTS here ");String fb=s.next();
System.out.println("WE ARE ACCEPTING YOUR QUERIES OR COMPLAINTS ");
}
public static void COME_SOON()throws IOException
{
BufferedReader b=new BufferedReader(new InputStreamReader(System.in));
Date date=new Date();
Calendar ca=Calendar.getInstance();
String t1="!@#$%^&*)(_www.cinemaster.com_)(*&^%$#@! search[____________]google ads";
String t2="\t\t\t\t|___________________________________________________________________| ";
String t=" ";
String t3="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DATE : "+date;
String t4="\t\t\t\t ',',',',',',',',',',CINEMASTER,',',',',',',',',','";
String t5="\t\t\t\t [CINEMAS's MASTER] ";
String t6="\t\t\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TODAY : "
+ca.get(Calendar.DATE)+"/"+(ca.get(Calendar.MONTH)+1)+"/"+ca.get(Calendar.YEAR);
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("YOU CAN SEE THE FULL DESCRIPTION OF THE MOVIE(S) IN 'www.cinemaster.com/comming_soon'");
System.out.println("Coming Soon >> ");
System.out.println("• ");
System.out.println("o Aranmanai");
System.out.println("o Aranmanai is about a family that wants to sell their ancestral home. The supernatural elements they discover there in the aranmanai (palace) lead to some bone-chilling moments. The film has an ");
System.out.println("Want to see (4)");
System.out.println("Not Really (1)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Autonagar Surya");
System.out.println("o `Autonagar Surya` is a forthcoming Telugu film directed by Deva Katta. `Autonagar Surya` is said to be a political thriller. This Tollywood film stars Naga Chaitanya and Samantha in the leading roles.");
System.out.println("Want to see (29)");
System.out.println("Not Really (3)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Ek Villain");
System.out.println("o The Villain is an upcoming action romance film directed by Mohit Suri. It features Siddharth Malhotra, Shraddha Kapoor and Riteish Deshmukh in the lead roles with Kamaal Rashid Khan as the antagonist.");
System.out.println("Want to see (265)");
System.out.println("Not Really (7)");
System.out.println("27 Jun");
System.out.println("2014");
String cm=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("•");
System.out.println("o Jigarthanda");
System.out.println("o The film is set in the city of Madurai and is a triangular love story between an aspiring filmmaker, a college student and a dangerous gangster.");
System.out.println("Want to see (5)");
System.out.println("Not Really (3)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Karthikeya");
System.out.println("o Nikhil Siddharth and Swati Reddy are back once again onscreen with Karthikeya. The mystery of the Subramanian Swamy temple which has remained closed for years is the crux of the movie. Local people in");
System.out.println("Want to see (8)");
System.out.println("Not Really (1)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Naya Pata");
System.out.println("o Naya Pata is an attempt at presenting a different perspective of migration. It shows how an immigrant feels helpless while trying to express the emotions of his two different worlds. He has lost the s");
System.out.println("Want to see (9)");
System.out.println("Not Really (1)");
System.out.println("27 Jun");
System.out.println("2014");
String cm2=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("• ");
System.out.println("o Power");
System.out.println("o No content is available. ");
System.out.println("Want to see (17)");
System.out.println("Not Really (2)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Ra Ra Krishnayya");
System.out.println("o No content is available for this movie. ");
System.out.println("Want to see (3)");
System.out.println("Not Really (1)");
System.out.println("27 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Transformers: Age Of Extinction (3D)");
System.out.println("o The film is the fourth in the Transformer franchise and picks up fours years after the invasion in Chicago. A mechanic and his daughter make a discovery that brings down Autobots and Decepticons - and");
System.out.println("Want to see (387)");
System.out.println("Not Really (1)");
System.out.println("27 Jun");
System.out.println("2014");
String cm3=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("• ");
System.out.println("o Saivam");
System.out.println("o ``Saivam`` is about the relationship between Sara and her pet rooster named Papa. And the events that unfold in her village following Papa`s disappearance. ");
System.out.println("Want to see (0)");
System.out.println("Not Really (1)");
System.out.println("29 Jun");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Earth to Echo");
System.out.println("o When a group of young friends begin to receive bizarre encrypted messages on their cellphones, they embark on an incredible adventure to discover the meaning behind these communications. Soon enough, ");
System.out.println("Want to see (22)");
System.out.println("Not Really (1)");
System.out.println("2 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Tammy");
System.out.println("oo Tammy (Melissa McCarthy) is having a bad day. She`s totaled her clunker car, gotten fired from her thankless job at a greasy burger joint, and instead of finding comfort at home, finds her husband, Gr");
System.out.println("Want to see (3)");
System.out.println("Not Really (2)");
System.out.println("2 Jul");
System.out.println("2014");
String cm4=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("• ");
System.out.println("o Athithi");
System.out.println("o Everything seems to be ordinary in the life of the protagonist, a successful architect, and his wife, until their daughter is kidnapped. The kidnapper begins assigning tasks to the couple, much to the");
System.out.println("Want to see (1)");
System.out.println("Not Really (1)");
System.out.println("4 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Bobby Jasoos");
System.out.println("o Bobby Jasoos is the story of Bobby (Vidya Balan), who aspires to become the best detective in Hyderabad. Bobby decides to open her own detective agency, where she finds an unusual set of clients.");
System.out.println("Want to see (6)");
System.out.println("Not Really (2)");
System.out.println("4 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Carry On Jatta 2 (Punjabi)");
System.out.println("o The film is a sequel to the super hit comedy film Carry On Jatta. The film promises to deliver double entertainment with its comedy packed punches. The film stars Gippy Grewal, Gurpreet Ghuggi, Binnu ");
System.out.println("Want to see (32)");
System.out.println("Not Really (1)");
System.out.println("4 Jul");
System.out.println("2014");
String cm5=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("• ");
System.out.println("o Lekar Hum Deewana Dil");
System.out.println("o Lekar Hum Deewana Dil follow the lives, lifestyles and attitudes of Dino and Karishma. The young and restless duo want to live life on their own terms, frolicking around the city and painting the town");
System.out.println("Want to see (3)");
System.out.println("Not Really (2)");
System.out.println("4 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o 1984 Punjab");
System.out.println("o The film stars Dilijit Dosanjh and it is story set during the Sikh riots of 1984. It is a story of a boy who has to leave his home, a riot stricken terrain. The film shows his story and challenges as ");
System.out.println("Want to see (39)");
System.out.println("Not Really (1)");
System.out.println("11 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Dawn of the Planet of the Apes");
System.out.println("o The film is a sci-fi and a sequel to 2011 film Rise of Planet of Apes. Only a few human survivors when threaten to destroy the Ape nation led by Caesar, the war breaks. It is the fittest who will surv");
System.out.println("Want to see (107)");
System.out.println("Not Really (1)");
System.out.println("11 Jul");
System.out.println("2014");
System.out.println("• ");
String cm6=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
System.out.println("o Humpty Sharma Ki Dulhania");
System.out.println("o When Kavya Pratap Singh, a chirpy, yet feisty girl from Ambala, decides to make a trip to Delhi to shop for her wedding, she meets a young, carefree Delhi lad, Humpty Sharma. Kavya is initially unatta");
System.out.println("Want to see (24)");
System.out.println("Not Really (2)");
System.out.println("11 Jul");
System.out.println("2014");
System.out.println("• ");
System.out.println("o Munna Mange Memsaab");
System.out.println("o No content is available for this movie. ");
System.out.println("Want to see (0)");
System.out.println("Not Really (1)");
System.out.println("11 Jul");
System.out.println("2014");
System.out.println("•");
System.out.println("o Uttama Villain");
System.out.println("o Uthama Villain is a Tamil comedy film directed by Ramesh Aravind. The film is co-written and co-produced by Kamal Haasan, who also stars in the lead role alongside Parvathi.");
System.out.println("Want to see (12)Not Really (3)");
System.out.println("11 Jul");
System.out.println("2014");
System.out.println("•");
System.out.println("o Vishwaroopam 2");
System.out.println("o A sequel to the film Vishwaroopam which brewed political storm as soon as it was released. The film takes up from where the first ended. After escape from Omar, the story continues in India. The film ");
System.out.println("Want to see (88)Not Really (3)");
System.out.println("11 Jul");
System.out.println("2014");
String cm7=b.readLine();
System.out.println("\f");
System.out.println(t1+"\n"+t2+"\n"+t3+"\n"+t4+"\n"+t5+"\n"+t6);
}
}
How did you give the textures in sopln
ReplyDelete