back1.java

来自「影院订票信息管理系统软件JAVA源代码。该应用程序能完成一定的订票以及一定的售票」· Java 代码 · 共 46 行

JAVA
46
字号
import java.io.*;
public class Back1{
    void back1()throws IOException{
   System.out.println(" 1.返回上级菜单             2.结束流程");  //返回二级菜单
    String str1;int a;
	BufferedReader buf;
     buf=new BufferedReader(new InputStreamReader(System.in));
      str1=buf.readLine();
     a=Integer.parseInt(str1);   Choice c1=new Choice(); Back b3=new Back(); Choice a1=new Choice();
     
     if(a==1) 
   { c1.Choise2(); 
      int p3;
        String str2;
         System.out.print("请选择:");
         str2=buf.readLine();   
         p3=Integer.parseInt(str2);
       if(p3==1)
    { 
     DP a3=new DP();      //继续订票
     a3.make();
  
  Seats s1=new Seats();
  s1.SEAT();
 
 
 Back1 d1=new Back1();d1.back1();}
if(p3==4)
        {System.out.println();
         MInfor m1=new MInfor();          
         System.out.println(m1.toString()); Choice e1=new Choice();  System.out.println(e1.toString());
		 Back w1=new Back ();w1.back();}
       
if(p3==5){ System.out.println(a1.toString());b3.back();}


 
if(p3==2){  System.out.print("请输入您的顾客号:"); int x;String str6;     //修改订票信息
     str6=buf.readLine();
     x=Integer.parseInt(str6);
       System.out.print("请输入原来您订的张数:"); int m;String str7; str7=buf.readLine(); m=Integer.parseInt(str7);System.out.print("请输入现在您订的张数:");int n;String str8; str8=buf.readLine();
     System.out.println("修改成功!");}


	}}
	}   

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?