-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.java~
43 lines (43 loc) · 1.93 KB
/
Main.java~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import java.io.*;
public class Main //class Begining
{int l,m,D,co,cou,coun,count,y,z,nm;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s,si,t,sid,sidi;
char c,E;static int mk;
Flip obj=new Flip();
Login obj1=new Login();
public void main1()throws IOException //method begining
{System.out.print('\u000C');
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("entre 1 to continue ");
System.out.println("entre 2 to login and search for your product or any character to exit");
System.out.println("entre your choice ");
c=(char)br.read();
if(c=='1')
obj.flip();
else if(c=='2')
obj1.log();
else
System.exit(0);
} //Method ending
} //Class ending