Can someone tell me what the fuck I'm doing wrong here?

Can someone tell me what the fuck I'm doing wrong here?

Other urls found in this thread:

en.wikipedia.org/wiki/Lego_Mindstorms
compaid.com
swisseduc.ch/informatik/karatojava/download.html
swisseduc.ch/informatik/karatojava/gamegridkara/gamegridkara-english.html
en.wikisource.org/wiki/The_Mathematical_Principles_of_Natural_Philosophy_(1846)
twitter.com/NSFWRedditGif

Try creating a new Coffee object called myOrder in the main method you faggot

this

you are missing a } at the end of your code bro

actually this

Wrong.

he never closes the class, are you fucking high

This part:
Coffee myOrder = new Coffee();

is correct.

Remove "void", obviously

public class Coffee{
public static void main (String[] args){
gayName();
}
public static void gayName(){
int cubes = 0;
System.out.prtinln("You added " + cubes + "of sugar");
}
}


DONT WORRY ABOUT PASSING DATA IN YET. THAT WILL COME IN LATER LESSONS. FOR NOW HAVE YOUR VARIABLE DEFINED LIKE SO.

>Can someone tell me what the fuck I'm doing wrong here?

Not using an editor that does bracket matching.

Is this code academy? I honestly stopped using them because you can type everything perfectly and it will still gove tou an error. I have cut and pasted the exact same code that gave me an error from someone in amessage board that looks exactly the same as mine and it goes through no problem.

It's browser based. Codecademy.

So do they really suck that bad? If so, where should I go to learn Java?

And use indentation

Start with a .net c# dude

What do you use instead?

Get a book, its 100% better.
Then just expeirment with code your created on a website like c9.io or get the JDK on your computer.

I'm just doing this for shits and giggles. Thought it would help me since I've got a tour coming up of a place called CAI and they want me to build one of those Lego Mindstorm things.

>Can someone tell me what the fuck I'm doing wrong here?

You're asking for help on Sup Forums

Books and good ol fashioned text editors. I still get errors because i am dumb but at least i can learn from my mistakes and troubleshoot instead of just hoping the next ctrl+v solves my problem. Go to pirate bay and search for head first java or buy learn java the hard way.

buy a book that teaches java.
are you retarded?

What about Coursera?

I'll say no.
That's just my opinion though, is day you should start with a 3D architecture instead

First what's 5+4/2(8-4)=?

>I'd say*

Do you really think I wanna read a fucking instructional book on how to do something when 99.9% of anything computer related can be found on the Internet. I bet you hang out at libraries and Barnes & Noble all the time like the elitist you are.

13

Havent used that for coding tbh. I find that using a text editor vs web based for tooling around is better. You immedietely remove any issues of browser compatability or internal bugs on their part.

13

Ur missing a } at the end dude

what he zed.

Eh whatever. I've been working on Java bullshit since 5am.

newfag detected

>
>First what's 5+4/2(8-4)=?
8-4=4
2*4=8
4/8=0.5
5+0.5=5.5

learn basic math noob

What would you say I would need to practice if I'm going to be assessed on how well I can build a fucking LEGO robot thing?

Oops

this. Your excuses doesnt matter. this or you should just stop coding anyway.

Go on

mindstorm?

I'm not even required to learn it. It was just free lessons I've been doing since early this morning and I got stuck on one issue.

en.wikipedia.org/wiki/Lego_Mindstorms

That shit

you doing a levels or degree?

...

5.5

Neither. It's part of an assessment test for a company.

compaid.com

This place

I go not understand, my knowledge isn't that far on mathematics, which btw is a Greek word

Show your work, son.

bait? if not then you need to put the code inside of the main

>Do not*

>basically shit that doesn't apply to 99.9% of careers.

if you just wanna do these go for:
swisseduc.ch/informatik/karatojava/download.html
(if you are a germantard)
swisseduc.ch/informatik/karatojava/gamegridkara/gamegridkara-english.html
(if you wanna do it in english)

its not real programming skills that you need. Just a basic understanding of logic I guess.

So this:
is the right question...
If you have a brain you can do it. If you cant do it ask your parents or your doctor whats wrong with you.

Eh fuck it. Not that big of a deal. Not like I'm working on a project or something. Was just practicing.

they might just have you use the point and click software that comes with mindstorm

then again they might have you using java for everything, it can get complicated

Sorry, Adolf, I don't really need your help to build a robot that a child could put together.

But these arguments are fantastic, keep creating threads like this

They work with autismo people (which I'm not) so I think I'm good.

if you dont get it just read this:
en.wikisource.org/wiki/The_Mathematical_Principles_of_Natural_Philosophy_(1846)

BIDMAS

walk in the park then bro

but it can nuke an entire city and molest children.

You never closed off your Coffee class, OP.

Next question, please.

I hate WPF. Anyone else?

>5+4/2(8-4)

5+4/2(8-4)=5+4/2*4=5+2*4=5+8=13

The entire fucking assignment. Please do not become a developer.

Did I not say how useless this information is to most people? Pretty sure I did.

Oh, just saw I read it wrongly

We use PEMDAS here, britbong.

8-4=4
2*4=8
4/8=0.5
5+0.5=5.5

Don't take pride on that (reference(?) Spaceship)

Rules 6, 7, and 8 are all wrong. Do you even math?

bad troll is bad

Yes, you're coming to Sup Forums for advice.

/thread

Hopefully. I mean what I was told was that if I get through this little "assessment" that I'd be involved in the company in a QA type of way.

True but I wanted to give you some attention since you haven't had human interaction in a while.

class Coffee is missing its closing brace

you could go on youtube and watch thenewboston java tutorials, they're not SO bad

Which is the fastest of the mid-tier languages?

Thanks, but it was only practice. I got to the last module and just gave up.

All of you are wrong anyway so it doesn't matter

>just gave up
a true Sup Forumstard now

you solve it then tardface

Well here's the thing. I have an Apple certification (go ahead and laugh, I know you want to) and now I want to focus on at least either M$ or something else. I want to be cross-platform. I studied A+ 801-802 but never took the exam because by the time I got finished the course, it had become obsolete.

I had been doing modules for over 8 hours. That's like a job, dude.

Already have a solution

You crazy bastard. My condolences

certs to do with cloud stuff are handy

I've been working on one program in asm for 4 days now...

hello world?

What's up with you guys? I can't optimally focus on the code after 3 hours without a break

Through CompTIA or Microsoft? Because I know they both have their respective cert for it.

I remember spending hours upon hours going through lists of webcams trying to figure out which ones had vulnerabilities.

Support vector machine

Currently learning number theory as hackers delight mentioned magic numbers for division. Oh and it's ARM asm

That's half the fun of it, not related to the question

C++ is faster than Java.

I work on it bit by bit as i come up with a solution if i'm not researching... and since i'm programming on my phone.... i can take it with me.

Oh right. How can we sit at a screen looking at code most of the day? I have no clue. It gave me a fucking headache.

If I had a hat, I would take it off

I need help on c#, anyone for a quicky?