Forums Register Login

User inputs

+Pie Number of slices to send: Send
I'm wondering how you would go about making a program that prints out a users input.
Could I have code for it?
+Pie Number of slices to send: Send

But of course, this isn't what you're really after. Want to be more specific?
+Pie Number of slices to send: Send
Like this
Prompt user to enter a text "Enter something"
Once the user presses Enter,
whatever the user has inputted is displayed.
+Pie Number of slices to send: Send
Not to give it all away for free...
Prompt by printing to System.out, of course. Read a line by wrapping System.in in an InputStreamReader and a BufferedReader in turn, then calling BufferedReader.readLine(). Then print the result to System.out.
+Pie Number of slices to send: Send
Why not "give away for free", it's not that much of a program is it?
+Pie Number of slices to send: Send
Clowns were never meant to be THAT big! We must destroy it with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 613 times.
Similar Threads
taking value w/o submit
Please can someone explain how I can take user input and pass it to another vairable?
Update a program input after running
JMS reliability
Is there a possible way to use index properties on this situation
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:29:48.