package 她;
import java.util.*;//控制镜面输入
import java.util.Random;//随机数
public class t {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
System.out.print("please enter a first name:");//输入名字(随便)
String s2 = s.next();
System.out.println("1.login");//账号登录
System.out.println("2.enroll");//账号注册
System.out.println("3.Recover your password");//账户找回
System.out.print("Make a fresh choice:");//选择以上
int number1 = 222222;
int password1 = 123456;
int number2 = 111111;
int password2 = 234567;
int number3 = 777777;
int password3 = 345678;
int choice = s.nextInt();
if( choice == 1 || choice == 2 || choice == 3) {
switch( choice ) {
case 1:
System.out.print("Please enter the login location:" );//输入市芜湖
String kkk = s.next();
if( kkk == "WUHU") {
String jjj = "Unable to register!!!!!!!!!!!!!!!";//不对返回重输
System.out.println( jjj );
break;
}else{
System.out.print("Please enter an account number:" );//输入账号
int number = s.nextInt();
System.out.print("Please enter a password:");//输入密码
int password = s.nextInt();
System.out.println( number1 + "-----" + "Entre in" + " " + kkk + "/" + s2 + "---longin"); //登陆
System.out.println("-----------------------------------------------------------");
if( number == number1 && password == password1) {
System.out.println("number:" + number1); //账号1
System.out.println("Choose any of the following software:");
System.out.println("1. Search software........" );//搜索
System.out.println("2. Shopping Software........");//购物
System.out.println("3. Fiction software......."); //小说
System.out.println("4. Exam software...........");//考试软件
Random random = new Random(); //随机数
int one = random.nextInt(3)+1; // 生成[1,2,3,4]区间的整数
System.out.println("_________________________"+one ); //随机结果
switch( one ) {//搜索
case 1:
System.out.println(
"Search software"
+ "........"
+ "Movement 1: Stretch the biceps"
+ "Point 1: Stand position, "
+ "back straight, "
+ "one arm open outward "
+ "(horizontal abduction 90 degrees), "
+ "palm back hold the fixed object or put the hand on the object below the shoulder,"
+ " with the shoulder joint as the axis,"
+ " the body turns 90 degrees to the opposite side,"
+ " the hand position always remains unchanged,"
+ " when stretching,"
+ " bend the leg to reduce the height of the upper body,"
+ " so that the upper limb gradually increases the extension amplitude."
+ " When you feel a stretch or slight discomfort in the biceps,"
+ " keep static stretch for 10~30 seconds and breathe evenly."
+ " Note: Keep your elbow straight and your back straight during stretching."
);
break;
case 2:
System.out.println("Shopping Software........");//购物
double Price =0.1;
System.out.print("Buy this string of codes, please pay:");
double pr = s.nextInt();
if( pr <= 0 ) {
System.out.println("No way");
break;
}else if( pr >= 0.1){
System.out.println("Get your money back" + (pr-Price) + "$");
break;
}
break;
case 3:
System.out.println("Fiction software.......");//小说
System.out.println("Douluo Continent");//斗罗大陆
System.out.println("Break through the sky");//斗破苍穹
System.out.println("Full-time master");//全职高手
System.out.println("Dream");//红楼梦
System.out.println("please select:");
String sel = s.next();
switch( sel ) {
case "Douluo Continent":
System.out.println("Douluo Continent");//斗罗大陆
System.out.println(""
+ "At the same time as blowing Tang San away, "
+ "Bibi Dong's body also shook, "
+ "and with a wow, a mouthful of purple-black blood spewed out."
+ " However,\n"
+ " everyone watching the battle at the head of Jialing "
+ "Pass City understood that the outcome of this battle was already predetermined."
+ "Tang San's body flew upside down in the air, "
+ "and the purple electric light constantly flashed all over his body,"
+ " and the terrifying resentment was frantically impacting his divine thoughts, "
+ "and he could only go all out to hard top, "
+ "relying on his divine thoughts that were higher than Bibi Dong to expel the resentment and evil qi little by little."
+ " At this time, Tang San's combat effectiveness had dropped to the extreme."
+ " And Qian Chengxue, \n"
+ "who saw Bibi Dong spraying blood, "
+ "was already holding the Angel Holy Sword,"
+ " and the whole person chased after him with a series of golden-red afterimages in the air."
+ " Tang San didn't have the extra strength to block her blow at all.\n"
+ " The sea god faced the angel god and the raksha god who were completely united,"
+ " and after all, there was no chance."
+ " Being able to hit Bibi Dong hard again was already a miracle completed by Tang San.");//斗罗大陆
break;
case "Break through the sky":
System.out.println("Break through the sky");//斗破苍穹
System.out.println(""+" Medicine old sleep"
+ "Staring at the light blue metal piece in his hand with a changing face,"
+ " the controller of the Yunlan Sect,"
+ " on his quiet and indifferent beautiful cheeks,\n "
+ "a wisp of eagerness flashed through the sky, and the jade hand quietly clenched,"
+ " and his heart was constantly churning."
+ "How could fragments of the Sea Heart Armor appear here?\n"
+ " Could it be that the little guy couldn't have been here before? "
+ "Since the Sea Heart Armor has been shattered, "
+ "then he should also have been seriously injured, right?"
+ " This guy, how come there is him everywhere? His gaze swept over the ground with a little anxiety,"
+ " but he didn't find the slightest suspicious trace,\n"
+ " and the brocade robed woman's willow eyebrows were slightly raised, faintly angry."
+ "Sect Master Yunyun, what are you?"
+ "On the side, the old man couldn't help but be stunned when he saw the brocade robed woman's gesture,"
+ " and asked in surprise, this was the first time he saw this controller of the Yunlan Sect, "
+ "and so many strange emotions flashed at the same time."
+ " Oh, it's okay. Awakened by the old man's voice, \n"
+ "the eagerness on the brocade robe woman's pretty face quickly converged, "
+ "and in an instant, he returned to his previous indifference, smiled, "
+ "and in front of the old man, collected the fragments of the Sea Heart Armor into the Na Ring,"
+ " and whispered: Elder Jia, I think we should investigate the exact identities of the four Douhuang powerhouses before, after all, "
+ "those two Douhuang powerhouses from other countries infiltrated the Gama Empire, it should not be as simple as just coming to play.");
break;
case "Full-time master":
System.out.println("Full-time master");//全职高手
System.out.println(""
+"Liu Hao didn't sleep all night last night,"
+ " didn't sleep in the morning, was called by the boss at noon, "
+ "and didn't sleep all afternoon. "
+ "I didn't sleep until after dinner,"
+ " but I didn't forget to target Ye Qiu."
+ " So when it was almost midnight, "
+ "he struggled to get up and go online,\n "
+ "and as soon as he came up, "
+ "he was told that the team was full and there was no place,"
+ " and Liu Hao hated to eat Ye Qiu alive, "
+ "but he had no choice but to stare at the monitor in a daze."
+ "Ye Xiu and their side have the heart to brush the copy record. \n"
+ "Although no one pays,"
+ "there are always many rewards for breaking records."
+ " The place of buried bones can be lowered from level 23,"
+ " these people at level 25 have been down many times,"
+ " if you have the heart to brush the record,\n"
+ " you naturally have to pay attention to cooperation,"
+ " after Ye Xiu talked a little about the tactics outside the copy,"
+ " several people listened, and then entered the copy."
+ "Lean!"
+ " As soon as he entered, \n"
+ "Tian Qi cried out, "
+ "and his voice was full of love and hate. "
+ "Only because the system sends a prompt: Vampire Knight Gro has signs of resurrection, "
+ "please be careful with adventurers."
+ "Hide the boss.\n"
+ " Of course, "
+ "encountering a hidden boss is something that everyone is looking forward to, "
+ "but out of the hidden boss,"
+ " it is basically impossible to brush the copy record, "
+ "which goes against their original intention, which is why Tian Qi loves and hates leaning."
+ "Good luck today!\n"
+ " Ye Xiu praised, he rose to level 23,"
+ " of course, he would not miss the number of copies of the Buried Bone Land every day,"
+ "but he had never seen the hidden boss so far. "
+ "There are generally several hidden bosses in each of these quests,"
+ " and the chances of each appearance are different,\n "
+ "and the vampire knight is the one who hides the deepest in the Bones,"
+ " and it turned out to be encountered today."
+ "Let's take it as a run-in this time!\n"
+ "Ye Xiu said and commanded Jun Moxiao to rush up to destroy the monster,"
+ " and Tang Rou quickly let Han Yanrou rush immediately after."
+ " This girl still likes to compete with Ye Xiu intentionally or unintentionally,"
+ " and whatever Ye Xiu does, she has to try to see if she can do it. "
+ "Last night, the Frost Forest replica Ye Xiu wildly pulled 16 goblins to her again, "
+ "but Tang Rou has always been more struck by the more she fights, the more fierce she fights."
+ "But when her cold smoke was just moving,\n"
+ " a cannon on the side of the wind comb smoke had already sounded, "
+ "and the two zombie monsters that Jun Moxiao rushed towards had been alarmed and were shaking to meet them.\r\n"
+ "It has been a few days since she cooperated with this Feng Comb Yanmu, "
+ "and this person's performance for Tang Rou is that everything can be ahead of her."
+ " For example, at this time, Ye Xiu's Jun Moxiao was the first to rush up to make a monster, "
+ "and Tang Rou was about to keep up, but the action of the wind combing smoke Mu was faster than her.\r\n"
+ "Is this man's hands faster than mine?\n"
+ " Tang Rou thought so in her heart, but she never asked. "
+ "What she didn't know was that what Su Mucheng was faster than her was not hand speed,"
+ " but consciousness. In terms of hand speed alone, she was already above Su Mucheng, "
+ "and under Ye Xiu's guidance, the coordination ability of her left and right hands was also improving rapidly."
+ " But in addition, in other aspects, \n"
+ "she still has a big gap from the professional-level Su Mucheng. This girl is also not easy, "
+ "the comparison object she cares about is not a god-level figure like Ye Xiu,"
+ " or a first-line character in the professional circle like Su Mucheng, which makes her always feel a little frustrated,"
+ " and then begins to work harder and harder."
+ "Shown in the game, that is,\n "
+ "Hanyanrou is even closer and fiercer than Jun Moxiao. "
+ "This domineering performance made Tian Qi and Yue Zhongmian a little at a loss. "
+ "The monster that this girl was fighting made them feel that they couldn't intervene, "
+ "But Jun Moxiao's Yinwu attack power was much higher than that of Han Yanrou."
+ " In addition, that wind comb smoke Mu is also helping Jun Mo smile and clear the strange, "
+ "the monster here is fast enough, Tian Qi and Yue Zhong sleep after rubbing over, "
+ "still feel that nothing can help,\n "
+ "there is no sense of existence at all. "
+ "The two burst into tears, did they still need the two of them?"
+ "Ye Xiu saw this situation,"
+ " but he also knew it.\n "
+ "It was enough for him and Su Mucheng on his side,"
+ " and Tian Qi and Yue Zhongmian should be on Tang Rou's side. "
+ "But Tang Rou's girl is too strong, always pursuing the limit,"
+ " plus the gap between her and Tian Qi and Mid-Moon Sleep is quite large, "
+ "and as a result, the two sides are completely unable to form cooperation."
+ "Change it, you go and cooperate with her!"
+ " Ye Xiu said to Su Mucheng.");
break;
case "Dream":
System.out.println("Dream");//红楼梦
System.out.println(""
+"West Wing Ji Miao Words Tong Joke Peony Pavilion Yanqu Police Heart"
+"It is said that since Jia Yuanchun returned to the palace that day,"
+ " he ordered all the inscriptions of that day, "
+ "ordered Tanchun to copy and compromise in turn, "
+ "compiled his own ranks, described their advantages and disadvantages,"
+ " and ordered to strangle stones in the Grand View Garden, "
+ "which is a graceful affair for the ages. Therefore,\n "
+ "Jia Zheng ordered people to select famous craftsmen everywhere, "
+ "and carved words on the grinding stone in the Grand View Garden,"
+ " and Jia Zhen led Rong, "
+ "Ping and other overseers. \n"
+ "Because Jia Qiang also managed twelve female dramas such as civil officials and did the first thing,"
+ " it was not very convenient, "
+ "so Jia Zhen called Jia Ling and Jia Ling to oversee the work."
+ " One day, the soup wax nailed Zhu and started to move. That's not a problem."
+ "Moreover, the Jade Emperor Temple and the Dharma Temple are two places,"
+ " and the twelve small Shami and twelve small Taoist priests in one class are now moved out of the Grand View Garden, "
+ "and Jia Zheng is thinking of sending them to the temples to live separately.\n"
+ " Zhou Shi, the mother of Jia Qin who didn't want to live on the back street,"
+ " was planning to go to Jia Zheng's side to manage a big and small matter with her son, "
+ "and also get some silver money to use,"
+ " but when she heard about this, she took a palanquin to beg Sister Feng."
+ " Sister Feng, because she saw that he was not very good at taking the class, s"
+ "he agreed, and after thinking a few words, she returned to Mrs.\n"
+ " Wang and said: These little monks and Taoists must not be sent elsewhere, "
+ "and they will accept it when they come out."
+ "If it is dispersed, if it is used again, "
+ "it is laborious. According to my idea, "
+ "it is better to send them to the Tiejian Temple in our family temple,\n "
+ "and it will be enough to send someone to take a few taels of silver to buy firewood and rice in the month."
+ " Say it, go and call it, it's not a bother. When Mrs. Wang listened, she discussed with Jia Zheng."
+ " Jia Zheng listened and smiled: It reminded me, that's it.Call Jia Lian immediately.");
break;
}
break;
case 4:
//先用随机进行1(简单),2(中等),3(困难)
//随机结果是**
//进行判断选择
//进入随机结果
//假设进入"考试软件"!!!!!
//进行分数判断(0/100)
//0重新考
//100奖励1个图
System.out.println("Exam software...........");
Random random1 = new Random(); //随机数
int on = random1.nextInt(2)+1;
if( on == 1) { //简单
System.out.println("1+1=()");
System.out.println("A.6"+" "+"B.4"+" "+"C.2"+" "+"D.9");
System.out.println("please select:");
String select = s.next();
switch( select ) {
case "A":
System.out.println("Error, 0 points");
break;
case "B":
System.out.println("Error, 0 points");
break;
case "c":
System.out.println("Correct, 100 points");
break;
case "D":
System.out.println("Error, 0 points");
break;
default:
System.out.println("Reselect!!!!!!!"); //输入错误
break;
}
System.out.println("Score results(0/100):");
int score = s.nextInt();
if( score == 0) {
System.out.println("Fail, retake!!!!!!!!!!!");
break;
}else if( score == 100 ) {
System.out.println("reward---------------@@@@@@@@@@@@@@@@@@@");
}
}else if( on == 2 ) { //中等
System.out.println("In a real-life situation, "
+ "please choose the method of creating or changing certain"
+ " conditions to cause certain mental activities of the participant()");
System.out.println("A.Observation method"
+" "
+"B.Laboratory experiments"
+" "
+"C.Natural experimental method"
+" "
+"D.Investigative Law");
System.out.println("please select:");
String select = s.next();
switch( select ) {
case "A":
System.out.println("Error, 0 points");
break;
case "B":
System.out.println("Error, 0 points");
break;
case "c":
System.out.println("Correct, 100 points");
break;
case "D":
System.out.println("Error, 0 points");
break;
default:
System.out.println("Reselect!!!!!!!"); //输入错误
break;
}
System.out.println("Score results(0/100):");
int score = s.nextInt();
if( score == 0) {
System.out.println("Fail, retake!!!!!!!!!!!");
break;
}else if( score == 100 ) {
System.out.println("reward---------------**********************");
}
break;
}else if( on == 3 ) { //困难
System.out.println("When the product enters the market,"
+ " what to do first, please choose()");
System.out.println("A.Lower prices"
+" "
+"B.Track market conditions"
+" "
+"C.Expand marketing"
+" "
+"D.Develop new products");
System.out.println("please select:");
String select = s.next();
switch( select ) {
case "A":
System.out.println("Error, 0 points");
break;
case "B":
System.out.println("Error, 0 points");
break;
case "c":
System.out.println("Correct, 100 points");
break;
case "D":
System.out.println("Error, 0 points");
break;
default:
System.out.println("Reselect!!!!!!!"); //输入错误
break;
}
System.out.println("Score results(0/100):");
int score = s.nextInt();
if( score == 0) {
System.out.println("Fail, retake!!!!!!!!!!!");
break;
}else if( score == 100 ) {
System.out.println("reward---------------$$$$$$$$$$$$$$$$$$$$$$$$");
}
break;
}
break;
default:
System.out.println("XXXXXXXXXXXXXXXXXXXXXXXXXXX"); //输入错误
break;
}
}else if( number == number2 && password == password2 ) {
System.out.println("Select Account Number1!!!!!!!!!!!!!!!");
break;
}else if( number == number3 && password == password3 ) {
System.out.println("Select Account Number2!!!!!!!!!!!!!!!");
break;
}else {
String nnn = "enroll!!!!!!!!!!!!!!!";
System.out.println( nnn );
}
}
break;
case 2:
System.out.print("Position of ldentity:" );
String po = s.next();
System.out.print("First six, please:");
int op = s.nextInt();
if( po == "anhui" || op == 342123){
System.out.println( s2 + "Position of ldentity" + po + "First six, please" + op + "---enroll!!!!!!"); //登陆
System.out.println("Select Account Number"); //选择账号
System.out.println("number1");
System.out.println("number2");
System.out.println("number3");
System.out.print("Please select the following account number:");
int s3 = s.nextInt();
switch( s3 ) {
case 1:
System.out.println( s2 + "Your account number!!!!!");
System.out.println("number:" + number1);
System.out.println("password:" + password1);
break;
case 2:
System.out.println( s2 + "Your account number!!!!!");
System.out.println("number:" + number2);
System.out.println("password:" + password2);
break;
case 3:
System.out.println( s2 + "Your account number!!!!!!");
System.out.println("number:" + number3);
System.out.println("password:" + password3);
break;
}
break;
}else{
String jjj = "Unable to register!!!!!!!!!!!!!!!";
System.out.println( jjj );
}
case 3:
System.out.println( s2 + "---" + "Recover your password"); //找回
System.out.println( s2 + "---" + "lncorrect entry,three digits,indicating 0 to 9!!!!!!!!!!!");
System.out.print( s2 + "---" + "ldentity authentication:");
String cuthentication = s.next();
switch( cuthentication ) {
case "123":
System.out.println("-----------------------------------------------------------");
System.out.print( s2 + "---" + "User Security:");
int Security = s.nextInt();
if( Security != 01236 ) {
System.out.println("Please re-enter your account and password as follows(Choose one of the three):");
System.out.println("number1------------------" + number1);
System.out.println("password1------------------" + password1);
break;
}else{
System.out.println( "Please call customer service!!!!!!!!!!" );
}
break;
case "456":
System.out.print("-----------------------------------------------------------");
System.out.println("Please re-enter your account and password as follows(Choose one of the three):");
System.out.println("number2------------------" + number2);
System.out.println("password2------------------" + password2);
break;
case "789":
System.out.print("-----------------------------------------------------------");
System.out.println("Please re-enter your account and password as follows(Choose one of the three):");
System.out.println("number3------------------" + number3);
System.out.println("password3------------------" + password3);
break;
}
break;
}
}else {
System.out.println("===================================================================");
String m = "Error,restart the program!!";
System.out.println( m );
}
s.close();
}
}