Can someone help me with my code, I'm trying to create a simple calculator that asks for user input, a value too low will return "no that number is too small try again" a value too large will return "no that number is too large, try again" and the correct answer will output "correct" while ending the program.
It's straightforward but I'm trying to get the hang of looping. It all works fine, but I want it to continuously accept inputs until the correct answer is reached.
i.e
PC: Answer '2 + 2' as an integer
User:...
Comment too long. Click here to view the full text.
>>51660300
consider assisted suicide.
A calculator will never tell you that a number is too small or too big or correct.
Go best up a white nerdy kid to do your homework, Jamal
>>51660300
First off why the fuck are you using a string to input into System.out.println and not directly in it?
Secondly, you want to make a procedure so first have a main method with the void in it like
public static void main(String[] args)
{
for (int i = 1; i < 5; i++)
calc();
}
//calculator shit goes here
Now this is probably incorrect because I need to test it but the general idea is there
>How to request purchase advice:
http://pastebin.com/hjHkKDyM
>/g/ wiki headphone FAQ:
https://wiki.installgentoo.com/index.php?title=Headphones
>Previous thread:
>>51647693
still trying to figure out which one i like more...............
the dt770 sounds super off when i start using it after long periods of time with the hd558s. i'm using a xonar DG to power them but that might be incorrect.
kinda wish i had an 80ohm pair :(
>>51660311
>kinda wish i had an 80
yeah thats a bit of a problem
>>51660232
Hi /hpg/
Poorfag here, but I need new hedphone
Are the Encore Rockmaster really the best value for this quality/price, or are these just hyped after the success of their crowfunding?
If they are bad, can you head me to another on ear closed and portable headphone at this price range?
I live in France and listen mostly to post punk
Thanks
Hey /g/ I have a problem
I have a javascript which I want to share on a forum, unfortunately the forum doesnt have any features to allow this and has a character limit.
Do any of you know of a website that will save javacode and run it when opened? I can share links in this forum so that was my first plan.
Any other options are appreciated.
>>51660206
Then why do you have "Java" set as the subject?
Checkmate.
Java is not Javascript, you filthy pleb.
If you don't even understand that, you're out of your league.
There are a number of websites that can display and execute JS code which are helpful for online, forum based debugging, but I'm not going to tell you them since you lured me here under false pretences claiming this was a JAva related question.
Google that shit.
>>51660206
>hey guys, how do I cross-site scripting?
Hey bro can I use your computer?
>>51660152
You make me sick, OP. Don't even fucking joke about that.
>>51660152
http://m.youtube.com/watch?v=h1wBkNjTKgs
Gotta keep your gear clean m9.
>>51660193
This is a true story though
what laptop are you using /g/?
>>51660137
stupid penguinposter
>>51660164
>2015
>not penguinposting
go
None of your goddamn business.
who still uses a note 2 or S3 galaxy with CM ?
Not me
So fuck off
>>51659974
I had my S3 with slimkat 4.4.4 up until September.
It got too slow and I got a G4 for cheap.
It still works fine though.
>>51659974
Anon-san , why are you so poor?
I currently live in China and can't for the life of me access Tor. China Unicom blocks obfsproxy relays extremely well. I'm using an http proxy but it isn't doing any good. Can anyone help me with this? Will posts updates on advice to show if it works, thanks!
Cool pic anon
Trying to access sites or communicate? You can encrypt messages
>>51659967
what city? chengdu?
What Linux OS should I use? I don't want to touch the command line and want a taskbar instead of a sidepanel.
linux mint
>>51659550
ElementaryOS
Windows
Is Vuze the best torrent client?
>>51659545
I like it
just werks
etc
>>51659545
kill yourself f︂︂a︂m
>>51659545
0/10 very shitty bait
Who has better framerates for this new tech?
Any recommended cards
It's just rendering two images at once and applying a simple distortion to them. There's nothing about it that favours either side.
>>51659361
Nvidia has less microstutter, which is important for this tech. Basically if it plays Fallout 4 on ultra then it should do well with oculus.
>>51659361
if the game has horrible optimization then it doesn't really matter
You have 7 words or fewer to make Richard Stallman as angry as possible. What do you say?
Acronyms may count as 1 word.
>>51659258
GNU is nothing without Linux
>>51659258
nothing to hide, nothing to fear!
JUST
ITT: we design a hypothetical image board.
U18thchannel is down and pawsru is gone
Tgere needs to be a high traffic furry chan thats not all fetish shit and not all pron
>>51659328
>furry
That system is too hard for me desu
has anyone bought shit from aliexpress?I tried to buy a tablet and know aliexpress wants my bank statement id and credit card to verfy me
>>51659227
I wouldn't trust them to be honest. Buy a tablet from somewhere else.
>>51659227
While I don't trust chinkshits, it's literally the same thing as Ebay if not better sometimes.
I've bought from them on numerous occasions. They're my main suppliers for micro controllers and tiny electronics. They're for when you don't want to negotiate with some supplier over Alibaba (i.e. small batches of stuff).
They're essentially Chinese eBay with one big difference: CONFIRMING GOODS RECEIVED MEANS FORFEITING YOUR RIGHT TO A RETURN OR REFUND.
Other than that can confirm AliExpress is legit, shipping slow as hell though. It's from China, what're you gonna do.
Hey /g/ remember that magic stick vaporware product a a month ago or so...
https://www.indiegogo.com/projects/magicstick-most-powerful-pc-stick-8gb-ram#/story
Apparently the have a bunch of news sites reporting about them. Are people really that stupid.
>>51659208
>mfw they raised 500k
>>51659208
Can't a Chromecast/Amazon Fire Stick/Android device/PC/Raspberry/C.H.I.P./Console/Aliexpress minibox already do this?
What's the point if it doesn't have high specs?
Why would people report this.
Let's see who can do better /g/
Meme reporting in
>>51659357
I like you.
>>51659185
aaahhh too much non-Free software, I hope You've got nothing to hide(tm).