SuperUser111 (12)

hi
World's Most Frustrating Game
posted to Share by Funkus

Either I'm a god at this game or it's broken. :/ (This was on impossible mode)

Looking for experienced Java devs!
posted to Ask by EpicGamer007

Going to be completely honest with you, repl.it is not the best place to look for experienced developers, let alone running high-end applications like games.
Also, I don't think anyone is willing to take their time off to work for free :/

read file and turn to array
posted to Ask by Annkar

@Annkar Sorry I couldn't help :/

Repl Search: The best search engine around
posted to Share by BobTheTomatoPie

Extremely glitchy at some times.

Pressing enter prompts the letter 'n' to show up :/

World's Most Frustrating Game
posted to Share by Funkus

@Funkus

Looks like you got it fixed! (I'm not quite sure what's so difficult with printing more text :D) Thanks.

World's Most Frustrating Game
posted to Share by Funkus

@Funkus Where is my spot on the leaderboard?

World's Most Frustrating Game
posted to Share by Funkus

@Funkus Thanks lol

World's Most Frustrating Game
posted to Share by Funkus

@Funkus Remember that Rand.nextInt(x) produces x+1 possibilities, because it includes 0.

what method do I use to get a single char to complete the statement.
posted to Ask by GregBeutler

@GregBeutler Do you know Python?

This program (https://repl.it/@eekboi/Spell-Checker#main.py) seems to handle the pressed key well. I'm not too proficient in Python, but hopefully you can find someway to utilize his program to your needs.

If you want to copy the code over, use the 'fork' button.

I honestly don't know how to create a program for this situation :( If not, is there anyway you can make the Aduino press the <enter> key?

Hospital-System
posted to Share by joaotf

@eekboi not trying to be blunt but I'm afraid that's not possible because the code is literally unreadable. :/ Maybe some visual enhancement could boost progress.

what method do I use to get a single char to complete the statement.
posted to Ask by GregBeutler

What are you trying to do?
If you simply want to print out what they entered, use this code (it's in java):

try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){ final String name = br.readLine(); System.out.println("Your name is: "+name); }

With some formatting that should work. If that wasn't what you were looking for then could you explain it to me? Thanks

Hospital-System
posted to Share by joaotf

@eekboi This appears to be much more difficult to translate, I'm afraid.

Finding website Host IP & Name
posted to Share by SuperUser111

@eekboi lolllllll

Hospital-System
posted to Share by joaotf

@eekboi I can do that voluntarily, granted I have the author's permission.

Hospital-System
posted to Share by joaotf

@joaotf As in, what language is being printed. 'Usuário' isn't C, nor is C a speak-able language ;)

Hospital-System
posted to Share by joaotf

What language is this?

Finding website Host IP & Name
posted to Share by SuperUser111
read file and turn to array
posted to Ask by Annkar

Your code is extremely messy, so I formatted it for you: https://repl.it/@SuperUser111/AppropriateTameRoute. This should be easier to read and comprehend, since your original code was unreadable.

NEED INSPIRATION!!!
posted to Ask by KellerWorthen

You can find inspiration at W3Schools or GeeksForGeeks.

Wjen program exits
posted to Ask

The moment you run a program, you can terminate it by the 'Stop []' button at the top center.

If you're using Java, you can use the System.exit() function, although you must receive some sort of prompt to shut down the program.

How to check time and memory for compilation a program?
posted to Ask by PremTiwari1

If you're using Java, you can use the System.currentTimeMillis() function to record the time the program started, and then use the System.currentTimeMillis() function at the end of the program.

By subtracting the new System.currentTimeMillis() by the old System.currentTimeMillis() to determine how long the program took to compile.

How to make an array
posted to Ask by abila123

An Array is basiacally a list of Strings or Numbers. It is immutable (size cannot be changed once the Array has been specified) and should not be confused with lists.

The correct format for creating an array:

int[] array = [3, 4, 5];

The symbols '[]' are mandatory for creating an Array. They are put after the 'int' or 'String' once you have specified whether you would like your array to contain Strings or Integers.

For thorough explanation: https://repl.it/@SuperUser111/Array-Explanation

Help with running a program
posted to Ask by LynettePenn

There is one major problem with your code:

  • Your 'import java.util.Scanner;' must be outside and before your Main method

Seems like that is causing the problem.

how do i save this and send it onto an email?
posted to Ask by miarose

If you're using Premium, set your Repl to PUBLIC and then share the link in an email.

If you're not using Premium, the default is public.

Link to share: https://homework.miarose.repl.run