Author Topic: Need Help With Java  (Read 238 times)

Offline Barnes828

  • Copper Member
  • **
  • Posts: 191
Need Help With Java
« on: February 06, 2008, 04:56:06 PM »
Okay this year in school i decided to take computer science.... BIG MISTAKE....

I thought this was going to be an easy computer class and a quick math credit...

At first it was easy when we did "Hello World" then moved on to boolean loops and what not... but now i have been assigned a pretty hard program.

Program Purpose: Input a date and output a day of the week. We were given the formula to figure this out but i have no idea how im going to do this...

if anyone is a master with Java or has any links to a good website that will help i  will greatly appreciate it.

Offline Sandman

  • Plutonium Member
  • *******
  • Posts: 17620
Need Help With Java
« Reply #1 on: February 06, 2008, 05:29:31 PM »
Hmmm... why not just view the source code of this page or this page?
sand

Offline Barnes828

  • Copper Member
  • **
  • Posts: 191
Need Help With Java
« Reply #2 on: February 06, 2008, 05:33:37 PM »
Quote
Originally posted by Sandman
Hmmm... why not just view the source code of this page or this page?


Thanks that should help a bit
« Last Edit: February 06, 2008, 05:36:57 PM by Barnes828 »

Offline ChickenHawk

  • Silver Member
  • ****
  • Posts: 1010
Need Help With Java
« Reply #3 on: February 06, 2008, 05:35:46 PM »
I remember doing this in C++ in college.  Stayed up all night getting it right.

Don't know Java and it's been too long to remember the specifics.  I just remember I had to break it up into little functions.  

Don't forget leap year.
Do not attribute to malice what can be easily explained by incompetence, fear, ignorance or stupidity, because there are millions more garden variety idiots walking around in the world than there are blackhearted Machiavellis.

Offline Barnes828

  • Copper Member
  • **
  • Posts: 191
Need Help With Java
« Reply #4 on: February 06, 2008, 05:40:27 PM »
yea finding the leap year is easy, but everything else is hard.

Offline Eagler

  • Plutonium Member
  • *******
  • Posts: 18757
Need Help With Java
« Reply #5 on: February 06, 2008, 08:00:56 PM »
Quote
Originally posted by Barnes828
Thanks that should help a bit


don't know how much those links will help as they are javascript not java

post your formula
"Masters of the Air" Scenario - JG27


Intel Core i7-13700KF | GIGABYTE Z790 AORUS Elite AX | 64GB G.Skill DDR5 | 16GB GIGABYTE RTX 4070 Ti Super | 850 watt ps | pimax Crystal Light | Warthog stick | TM1600 throttle | VKB Mk.V Rudder