News:

Who uses forums anymore?

Main Menu

Programming class

Started by Hdx, September 28, 2005, 01:11:21 AM

Previous topic - Next topic

0 Members and 7 Guests are viewing this topic.

Hdx

Well... My class sucks, were learning Java.. And we're going REALLY slow.
We're in what the 3rd-4th week and werer only to If statements -.-
If yall wana look you can find out course work here:
http://hdx.no-ip.org/Labs/
Post comments, Code, etc..etc.. anything you have to say about my shitty class :P
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
[19:59:04.000] <DeadHelp> We don't like customers.
[19:59:05.922] <DeadHelp> They're assholes
[19:59:08.094] <DeadHelp> And they're never right.

Ergot

Quote from: Newby on February 26, 2006, 12:16:58 AM
Who gives a damn? I fuck sheep all the time.
Quote from: rabbit on December 11, 2005, 01:05:35 PM
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Sidoh

I'll have to agree with Ergot. :)

Hdx

Not true. I'm reading the "JAVA for AP* Computer Science" book and I'm already to teh switch() cases.
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
[19:59:04.000] <DeadHelp> We don't like customers.
[19:59:05.922] <DeadHelp> They're assholes
[19:59:08.094] <DeadHelp> And they're never right.

Sidoh


Ergot

I would LOVE to have a teacher. Even the stupidest one. Independent learning is quite difficult...
Quote from: Newby on February 26, 2006, 12:16:58 AM
Who gives a damn? I fuck sheep all the time.
Quote from: rabbit on December 11, 2005, 01:05:35 PM
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Hdx

Quote from: Sidoh on September 28, 2005, 01:20:49 AM
SWITCH?! @_@  Daaammn..
Shuit it, ive only read the 1st chapter -.-
Just got the book today.
Oh and stupied question, absolute value allows for deimals right? (Sorry I'm tired)
Oh and I suggest yall doo all the assighnments there easy.
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
[19:59:04.000] <DeadHelp> We don't like customers.
[19:59:05.922] <DeadHelp> They're assholes
[19:59:08.094] <DeadHelp> And they're never right.

Sidoh

Was just kidding. :-*
Fun. :P
Yes.  Absolute value accepts any real number.
Hehe.

Hdx

#8
KK, was trying to decide to use a Double of an int.
public class AbsoluteValue {
public static void main(String args[]) {
double input;

System.out.print("Enter a number and I'll tell you it's absolute value: ");
input = TextIO.getlnDouble();
System.out.print("The Absolute Value is: ");
if(input >= 0)
  System.out.println(input);
else
  System.out.println(0-input);
}
}

public class Comparison {
public static void main(String args[]) {
double A, B;

System.out.print("Enter Value A: ");
A = TextIO.getlnDouble();
System.out.print("Enter Value B: ");
B = TextIO.getlnDouble();
if (A>B)
  System.out.println("The value of A is greater then the value of B.");
else if(A==B)
  System.out.println("The value of A is equal to the value of B.");
    else
      System.out.println("The Value of A is less then the value of B.");
}
}

public class DetermineAge {
public static void main(String args[]) {
int iBorn, iCur;
System.out.print("Please enter the last two digets of the year you were born: ");
iBorn = TextIO.getlnInt();
System.out.print("Please enter the last two digets of the current year: ");
iCur = TextIO.getlnInt();
if (iBorn >= 100 || iBorn < 0 || iCur > 100 || iCur <0) {
System.out.println("Hey but muncher! Dont lie to me. Good bye!");
return;
}
int iAge;
if (iBorn >= 6)
iAge = (100 - iBorn) + iCur;
else if(iBorn == iCur)
iAge = 0;
else
iAge = iCur - iBorn;

String cModi;
System.out.print("Has your birthday already happend this year? (y/n): ");
cModi = TextIO.getlnString();
if (cModi.toLowerCase().equals("n") || cModi.toLowerCase().equals("no"))
  iAge -= 1;

System.out.println("You are " + iAge + " years old.");
}
}

So boring!
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
[19:59:04.000] <DeadHelp> We don't like customers.
[19:59:05.922] <DeadHelp> They're assholes
[19:59:08.094] <DeadHelp> And they're never right.

drka

Quote from: Ergot on September 28, 2005, 01:23:37 AM
I would LOVE to have a teacher. Even the stupidest one. Independent learning is quite difficult...
it's quite simple. i learned VB C++ and C# on my own(but i dont know them perfectly)

Sidoh

Quote from: Mangix on September 28, 2005, 05:03:36 PM
it's quite simple. i learned VB C++ and C# on my own(but i dont know them perfectly)
Exactly.  Learning on your own is always simple because you move at your own pace.  When you're in a classroom environment, however, you're often forced to move at a pace that is not synonymous with your own.  This often causes frustration, discomfort and a seemingly less productive learning environment.

Contrasty, in a independent study-type environment, you are more comfortable with the material presented to you (by yourself) because you have more time to cover reliant subjects.

Joe

#11
Absolute Value of -13.37 is 13.37.

EDIT -
Quote
// Task 9: Define the following terms as best you can without looking them up.
//         1.  Programmer
//         2.  Hacker
//         3.  Cracker
//         4.  Cryptography
Asuming that means what I think it means (your school teaches that hackers are not the evil guys), I'm glad to see that at least one school in the world gets it right!
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Hdx

Yup :)
well it's not the school, who teaches that. it's jsut Mr. Weddel.
He's a jew but hes the only one who actually teaches any real programming :/
I asked 150 people at my school what a hacker and a cracker were, only 3 actually said the correct answer for a cracker, everyone else said it was a white boy playin as a nigger.
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
[19:59:04.000] <DeadHelp> We don't like customers.
[19:59:05.922] <DeadHelp> They're assholes
[19:59:08.094] <DeadHelp> And they're never right.

Sidoh

ROFL.  Most of my school would have probably guessed the correct answer, since we don't have a single African-American in our entire population.

Hdx

Luckey bastard.
We have 79% Specks
14% niggers
6% asians/viets
the rest are white :/
~-~(HDX)`-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
[19:59:04.000] <DeadHelp> We don't like customers.
[19:59:05.922] <DeadHelp> They're assholes
[19:59:08.094] <DeadHelp> And they're never right.