0% found this document useful (0 votes)
10 views5 pages

Advance Level Media

Supiri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views5 pages

Advance Level Media

Supiri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

import java.util.

*;

class film{

public static void main(String args[]){

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("=====================================
===================");

Scanner input=new Scanner(System.in);

System.out.print("Enter Date :");

String date=input.next();

Scanner input2=new Scanner(System.in);

System.out.print("Enter Location :");

String lct=input2.next();

System.out.println("=====================================
===================");

System.out.println("01) Movie - Hall 1 \t\t\t 02) Movie - Hall 2\n03)


Movie - Hall 3 \t\t\t 04) Movie 4 - Hall 4");

Scanner input3=new Scanner(System.in);

System.out.print("Enter Movie Number :");

int nmr=input3.nextInt();

System.out.println("=====================================
===================\n\n\n\n");
System.out.println("01) 9.00 a.m\n02) 2.00 p.m\n03) 7.00 a.m");

Scanner input4=new Scanner(System.in);

System.out.print("Enter Time :");

String time=input4.next();

System.out.println("=====================================
===================\n\n\n\n");

Scanner n=new Scanner(System.in);

System.out.print("Name :");

String name=n.next();

Scanner ph=new Scanner(System.in);

System.out.print("Phone Number :");

int phn=ph.nextInt();

Scanner sts=new Scanner(System.in);

System.out.print("Child or Parent :");

String status=sts.next();

Scanner tik=new Scanner(System.in);


System.out.print("Number of ticket :");

int tikt=tik.nextInt();

int bill=tikt*90;

int tax=(bill*80)/100;

int tot=bill+tax;

System.out.println("=====================================
===================\n\n\n\n");

System.out.println("Date :"+date+"\t\t\tLocation :"+lct);

System.out.println("-------------------------------------------------------------");

System.out.println("Name :"+name);

System.out.println("Phone Number :"+phn);

System.out.println("Tickets :"+tikt);

System.out.println("Type :"+status);

System.out.println("Time :"+time);

System.out.println("Hall :"+nmr+" Hall");

System.out.println("Tax :"+tax);

System.out.println("\t\t\t\t\tTotal "+tot);
}

You might also like