0% found this document useful (0 votes)
4 views4 pages

PRG

Uploaded by

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

PRG

Uploaded by

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

import java.util.

*;

public class Game

public static void main()

Scanner in = new Scanner(System.in);

System.out.println("Hello!");

System.out.println("Welcome to the Game");

System.out.println("Choices for you to choose from: ");

System.out.println("1. Cute Lines");

System.out.println("2. Inside Jokes/Line");

System.out.println("3. When you're pissed/sad");

System.out.println();

System.out.print("Choose the number which describes your mood: ");

int n = in.nextInt();

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

System.out.println();

int c1, s1;

String case1_solve[] = {"sin^2 A + cos^2 A", "cosec 30", "3 + (1 - tan^45)/ (sec^45)", "3 secA - 5 =
0; (16*cotA/3?)",

"5(tanA/cosA + (sin^A - 1)"};

String case1_lines[] = {"No matter what happens, imma be your Carbon, and you'll always be my
oxygen. <3",

"You are the one person who I won't ever forget cause you have changed my life
forever.",

"May god bless people with your presence kid.",

"I promise to treat you like you matter everyday not just when it's convenient for
me",

"Hope you know that I like you more than maths now. <3"};

String case_2[] = {"unicorn", "pajji", "shit of a bull", "kitty", "brane", "gn (it's counted)",
"Jonathan", "exercise",
"daily quote", "kid", "the heart", "trust", "high", "onoshko", "shaayan raiii", "aunty",
"idiot",

"barbie", "slay (think of 10th gc)", "oof", "SLP", "ram."};

switch (n)

case 1:

System.out.println("So you're in a flirty mood aren't you? Well, you need to solve math
first");

System.out.println("Answer as a number");

c1 = (int)(Math.random()*5+0);

s1 = 1 + c1;

System.out.println("Here is the problem --> " + case1_solve[c1]);

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

int a1 = in.nextInt();

if (a1 == s1)

{ System.out.println();

System.out.println("You got it correct! Here is the line: ");

System.out.println("**"+ case1_lines[c1] +"**");

else

System.out.println("Start over again!");

System.exit(0);

break;

case 2:

System.out.println("Here's a random inside joke/line/word with no context. Hope it gives


you nostalgia");

c1 = (int)(Math.random()*21+0);

System.out.println("** " + case_2[c1] + " **");

break;

case 3:
System.out.println("Choose the number applicable");

System.out.println("1. If you're pissed at me");

System.out.println("2. If you're sad/depressed");

int a = in.nextInt();

switch (a)

case 1:

System.out.println();

System.out.println("I understand if your pissed at me. Honestly I can be a b*tch


sometimes, and act like I don't care about you.");

System.out.println("Just remember that even though I messed up this time, I promise


that I didn't mean to.");

System.out.println("Maybe my emotions took control over my actions, and I'm sorry for
it.");

System.out.println("I really like you, and though I act stupid, I really don't want to lose
you.");

System.out.println("So, no matter what happens, I promise I'll make up to you. <3");

System.out.println("I'm sorry again");

break;

case 2:

System.out.println();

System.out.println("Hey kid, don't be sad. Ik shit might not be working out, but think
about happy things");

System.out.println("For example, there are chocolates or dosas not eaten, or millions of


trig problems unsolved");

System.out.println("Also, if there's anything.. just remember you can always talk to


me");

System.out.println("I might not tell the right solution, but I promise to listen and
brighten ur mood");

break;

break;
}

System.out.println();

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

System.out.println("Hope you liked it");

System.out.println("Bye");

You might also like