Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - HappyTheorist

Pages: [1] 2 3 ... 47
1
General / Re: Xbox one is definitely the easy winner
« on: June 20, 2013, 02:47 pm »
Did anyone else notice that 80% of the Xbox One reveal was about nothing to do with games?

2
Personal Exhibition / Simplistic Java Calculator
« on: June 20, 2013, 02:44 pm »
Cliché time of the week has come, as toady I have created a calculator in Java. Please pardon the potential lack of spaces:

Master Class (Putts all of the Code Together):

Code: [Select]
package Calculator;
import java.util.Scanner;

public class Master {

public static void main (String args[]){

int data;
System.out.println("Please enter the value of your operation (1 for Addition, 2 for Subtraction, 3 for Multiplication and 4 for Division");
Scanner operator = new Scanner(System.in);
data = operator.nextInt();

switch (data){

case 1:
Addition additionObject = new Addition();
additionObject.answerAddition();
break;

case 2:
Subtraction subtractionObject = new Subtraction();
subtractionObject.answerSubtraction();
break;

case 3:
Multiplication multiplicationObject = new Multiplication();
multiplicationObject.answerMultiplication();
break;

case 4:
Division divisionObject = new Division();
divisionObject.answerDivision();
break;
}
}
}

Addition Class:

Code: [Select]
package Calculator;
import java.util.Scanner;

public class Addition {

public void answerAddition(){

double fnum, snum, answer;
System.out.println("You have Selected Addition... Please Enter your First Number");

Scanner problem = new Scanner(System.in);
fnum = problem.nextDouble();
System.out.print("Number");
System.out.println("Recrded");

System.out.println("Now, Enter Your Second Number");
snum = problem.nextDouble();
answer = snum + fnum;

System.out.println("Your Answer is..." + answer);
}
}

Subtraction Class:

Code: [Select]
package Calculator;
import java.util.Scanner;

public class Subtraction {

public void answerSubtraction(){

double fnum, snum, answer;
System.out.println("You have Selected Subtraction... Please Enter your First Number");

Scanner problem = new Scanner(System.in);
fnum = problem.nextDouble();
System.out.print("Number");
System.out.println("Recrded");

System.out.println("Now, Enter Your Second Number");
snum = problem.nextDouble();
answer = fnum - snum;

System.out.println("Your Answer is..." + answer);
}
}

Multiplication Class:

Code: [Select]
package Calculator;
import java.util.Scanner;

public class Multiplication {

public void answerMultiplication(){

double fnum, snum, answer;
System.out.println("You have Selected Multiplication... Please Enter your First Number");

Scanner problem = new Scanner(System.in);
fnum = problem.nextDouble();
System.out.print("Number");
System.out.println("Recrded");

System.out.println("Now, Enter Your Second Number");
snum = problem.nextDouble();
answer = snum * fnum;

System.out.println("Your Answer is..." + answer);
}
}

Division Class:

Code: [Select]
package Calculator;
import java.util.Scanner;

public class Division {

public void answerDivision(){

double fnum, snum, answer;
System.out.println("You have Selected Division... Please Enter your First Number");

Scanner problem = new Scanner(System.in);
fnum = problem.nextDouble();
System.out.print("Number");
System.out.println("Recrded");

System.out.println("Now, Enter Your Second Number");
snum = problem.nextDouble();
answer = fnum / snum;

System.out.println("Your Answer is..." + answer);
}
}

Please feel free to leave your criticism and praises. They're always welcome ^_^.

3
General / Re: Funniest Yo Mama joke I've ever heard.
« on: June 17, 2013, 01:48 pm »
Wow, this thread...


4
Announcer: "Unfortunately, Troyio found that standing was a surprisingly strenuous process."

5
Rofling Whasamajiggy

6
General / Re: What shall I put John's face on?
« on: June 12, 2013, 01:28 pm »
Put John on Pikachu

7
General / Re: Woah, scary.. O.o
« on: June 11, 2013, 01:22 pm »
Well, excuuuuse me! I prefer the term Twili.

8
General / Re: Woah, scary.. O.o
« on: June 11, 2013, 01:19 pm »
What are you talking about? I can't see anything, not even myself...

9
General / Re: -_- some people's intelligence amazes me.
« on: June 11, 2013, 01:10 pm »
u dont now my name irl so ha

Wow... Just wow.

You think I was going to write your name down... I'M GOING TO BEAT YOU TO DEATH WITH IT YOU FOOL!

10
General / Re: -_- some people's intelligence amazes me.
« on: June 11, 2013, 01:03 pm »
I WILL PURGE THIS WORLD OF ITS ROTTEN NOOBISH ELEMENT WITH MY NEW TOY...


11
General / Re: *round of applause* Congratulations!
« on: June 10, 2013, 05:07 pm »
I agree.  You're post made me very gay.  Psychout, you should keep a queer eye for not offending others, because we are all homosapiens in the end.  Cum on man.

Derogatory was my operative word .-.

12
General / Re: Anyone hear about the new Metal Gear Solid?
« on: June 10, 2013, 04:47 pm »
It looks awesome, although I'm more excited for COD 10

I'll be alive for COD 928

13
General / Urgh! Stuff You Internet...
« on: June 10, 2013, 04:29 pm »
So, I attempt (operative word) to download Eclipse IDE and half way through a one hour download, it just stops. No error messages, no pop-ups, it just stops.

S.O.S. Anyone know how to fix this?

14
General / Re: Bigfoot's Here.. it's okay ;D
« on: June 10, 2013, 04:26 pm »
Hola Amigo!

15
General / Re: My new(ish) screenie of Flashback
« on: June 10, 2013, 04:24 pm »
No, what I'm saying is that you need to keep the tension rising through the game, and not just during boss fights and action scenes. Refer to the following graph.



You see how the intensity never returns to zero. You have to build up to your grand finale and NEVER reset the intensity.

16
General / How I Intend to Contribute to the Community
« on: June 10, 2013, 04:16 pm »
Look down at that little orange button under the thread. See it? If you will, make a post with one random word describing something close to you (Dogs, Love, Computers, etc.).

Now, that's the last of the patronizing. If you follow those instructions, I will write for you a custom poetic piece. So enjoy it and have fun.

One final note: this will only be open until Sunday.

17
General / Re: My new(ish) screenie of Flashback
« on: June 10, 2013, 04:01 pm »
Also remember, consistence. Never let your guard down.

18
General / Re: My new(ish) screenie of Flashback
« on: June 10, 2013, 03:57 pm »
Whoa there horsey. Don't get lost in the scenery and remember your roots private.

Looks epic, but it looks like it plays out a bit blandly.

20
General / Re: *round of applause* Congratulations!
« on: June 10, 2013, 03:44 pm »
Well it isnt my choice I be straight if I could choose id be bisexual because thy can have all the fun but I just know that I'm straight no big deal

I can perfectly understand that, but I find it offensive to use terms related to homosexuality as a derogatory term, and I'm just as heterosexual as you.

21
I'm back guys, and I'm seriously looking for a handful of the many talented reviewers out there. If any of you guys are interested, follow the instructions on the top of this thread. I can't wait to see you in our metaphorical offices :D

22
General / Re: *round of applause* Congratulations!
« on: June 10, 2013, 03:30 pm »
I really don't know why people think I'm an alternative account.  Pretty gay how people are spreadin rumors

Is there something wrong with being gay in your context?

24
I'mnotjealousinanywayshapeorform,whatareyouonabout?!

I have nought to do this Summer. I wish I was you right now.

25
^ She Regrets Nothing ^

26
General / Re: Post For My Opinion on You
« on: June 09, 2013, 02:45 pm »
This will end in a jade's trick. I know you of old.

I will write my opinion of you tomorrow, no time tonight.

27
General / Re: All must see.
« on: June 09, 2013, 02:27 pm »
attention hog.

Twas' quite a facetious statement my dearest friend.

28
You guys are torturing him, lol.

Still thanked

29
General / Re: HOLY CRAP SCEPTILE'S BACK
« on: June 09, 2013, 08:56 am »

30
...
oh spinachie....

Give Spinachie boredom, and this is what you get.

Besides, I like giving away things. It makes me feel warm and fuzzy. In order for that to work, I need to make myself sound professional, it's part of my nature.

Pages: [1] 2 3 ... 47