+ 2
How do i store user input in a Stringbuilder?
6 odpowiedzi
+ 1
import java.util.Scanner;
import java.lang.StringBuilder;
Scanner sc =new Scanner(System.in);
StringBuilder sb =new StringBuilder(sc. nextLine());
+ 2
um.....Daniele do you know why i get a question mark instead of the unicode symbol?
https://code.sololearn.com/cixAAHlJWEIX/?ref=app
+ 2
if you wish to use unicode symbols Mind To Machine refer to this:
https://code.sololearn.com/cEFVRdU0alsM/?ref=app
+ 1
Thanx Daniele....didn't realize it was that simple
0
I'm not 100% sure but I think that you can't use unicode in Sololearn. Maybe you should try to compile the file outside SoloLearn
(I've just checked. I really you can't print unicode) I'm sorry
0
Do you wanted to get this? ✁
I've just found this website where it works...
http://browxy.com/
this may interest you, too
https://stackoverflow.com/questions/5585919/creating-unicode-character-from-its-number