Jump to content
  • Welcome!

    Register and log in easily with Twitter or Google accounts!

    Or simply create a new Huddle account. 

    Members receive fewer ads , access our dark theme, and the ability to join the discussion!

     

Any Programmers out there want to help me with a program for school?


The Saltman

Recommended Posts

Java is fine for learning to program. It covers the fundamentals like object oriented programming, encapsulation, constructors, etc.. without having to fuss with things like garbage collection, pointers. It is like a gateway drug to the other languages.

Link to comment
Share on other sites

Google is your friend. http://www.abbeyworkshop.com/howto/java/readLine/

I think something like this would work, I've never read from the console in java.

public static void main(String args[]) throws IOException {

BufferedReader consoleIn = new BufferedReader(new InputStreamReader(System.in));

System.out.println("Enter a:");

String a = consoleIn.readLine();

System.out.println("Enter b:");

String b = consoleIn.readLine();

System.out.println("Enter c:");

String c = consoleIn.readLine();

System.out.println("Enter d:");

String d = consoleIn.readLine();

LinearEquation equation = new LinearEquation(a,b,c,d);

if(equation.isSolvable()) {

System.out.println("x = " + equation.getX());

System.out.println("y = " + equation.getY());

} else {

System.out.println("Not solveable");

}

}

Link to comment
Share on other sites

You'll also have to learn metabolomics, proteomics, and some biostats. Or just look pretty and nod when they talk to you.

OK, just nod.

Ha, I could do that. Perl is my main scripting language.

I would do the Biotats in R though.

Link to comment
Share on other sites

Natty is right. Learn Enterprise Java, spend 2 years programming (this is how long it truly take to become an efficient coder).

Banks will knock down your door for your skills. Degree or not.

I wish I had done this.

Link to comment
Share on other sites

Natty is right. Learn Enterprise Java, spend 2 years programming (this is how long it truly take to become an efficient coder).

Banks will knock down your door for your skills. Degree or not.

I wish I had done this.

Then get a non-bank job and use the demand from the banks as leverage. Screw working at the bank.

Link to comment
Share on other sites

Why do you say that? Java is still king in the enterprise world.

Yeah, JEE is still kicking and will be for a while (hell even COBOL isn't dead) so I guess it just depends on how you want to leverage your skills. I did come across as that guy that swears by his language of choice though lol - I meant it more as an opinion.

Coming out of the corporate world and into the startups, most companies (or VCs/Angels) are looking for Ruby/Perl/Python devs.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...