"Weigh every word and always ask yourself whether what you want to say is true," says the Samurai code. What do you think, is the following phrase true?: 日本語 And is it a phrase, or perhaps just a word? Your task is to display these logograms on the screen. The task was created by top specialists as part of Japanese language week at CodeGym.
The way of the Samurai
- 1
Locked
Comments (30)
- Popular
- New
- Old
You must be signed in to leave a comment
José Matías Flores Aisama
30 May 2021, 00:22
Why this exercise is not working?
0
miguel
10 April 2021, 20:29
it is not working yet....
0
miguel
9 April 2021, 20:23
I don't have dark matter, and tasks don't work... What can I do?
Even I can't check the tasks...
0
Alex Vypirailenko Java Developer at Toshiba Global Comme
10 April 2021, 13:31
Please contact support at support@codegym.cc
0
mastere
20 October 2020, 05:46
I don't actually understand why everyone is trying to search for Unicode character charts? just copy and paste the symbols into the console. 日本語 If you are having trouble figuring out how to output text to the screen remember you learned how to output text already. Refer to Level 1 in the lessons the first part is screen output. Here are the unicode values for the three kanji symbols for this task with the characters integer values and hexidecimal values. Feel free to look them up if you still want to. I only put them here in case anyone wants to know without having to look them up.
日語本
Int values:
26085 = 日
35486 = 語
26412 = 本
Hex values:
0x65e5 = 日
0x8a9e = 語
0x672c = 本
+3
Jakub M
20 October 2020, 13:03
Hmmm... maybe because it is fun? You can also learn some additional things. E.g. how to find number for unknown sign (char --> int)?:
Or vica versa:
And now you can find out if the result match with ASCII table.
Maybe it is not that interesting now - but in the future it could be helpful when you'll be working with Input/Output Streams... Every task has it's reason and try to find the easiest way may sometimes means that you'll be struggling later anyway. +2
mastere
27 October 2020, 13:04
Actually that is kind of interesting I did not know you could do that. I did not know you could convert the symbol to an integer value representing the symbol and the reverse. The symbols in the code here are the Japanese kanji word neko:(猫)or cat in English and the hiragana symbol: shi (し)which is a syllable used in many words. I knew you could enter unicode characters as hex values all though I have never needed to do it before.
Japanese katakana syllables ki: (キ), no: (ノ) and ko: (コ) together they spell kinoko: (キノコ) meaning mushroom in English. I have done most of my programming in JavaScript. The only experience I have with Java is from my college courses in object oriented programming with Java and the tasks here on codegym. I am always glad to learn something new. Thank you for the reply.
+1
A. Parker
28 September 2020, 19:01
Anyone that may need help in future. You can usually search "unicode" within your OS search bar and access the unicode character map on your computer instead of web search !
0
Vaibhavi
28 November 2019, 12:27
explain how to print these symbols.
+1
Roman
29 November 2019, 06:40
If you need help, something isn't right in your code, the server won't accept your solution (even if you are 100% sure that it is correct). Describe your question/issue in the HELP section at codegym.cc/help.
0
Bishal Sharma
27 December 2019, 15:33
print the alphabets within brackets with double quote....happy learning
+1
mastere
20 October 2020, 04:57
Use the print function to output the symbols and you can copy and paste the kanji symbols 日本語 if that is what you were having trouble with. Otherwise if you want to type the Japanese symbols out yourself if you are on windows you can go google: "how to install Microsoft IME for Japanese language". With that you can type all the Japanese characters you want to. こんにちは (konnichiwa), さようなら (sayonara) The Japanese for hello and goodbye in hiragana.
0
Debabrata Das
21 September 2019, 07:50
/* Comment has been deleted */
0
Roman
23 September 2019, 07:45
Posting the solution in the comments is prohibited.
0
Maimuna Naaz
19 June 2019, 02:27
yeah i got it.. thank you..
+1
Maimuna Naaz
15 June 2019, 06:53
how to print those symbols ??
0
Roman
18 June 2019, 06:29
Copy from condition and paste in your code.
+1
mastere
20 October 2020, 05:13
copy and paste them 日本語 it is easy enough to do that, or go install Microsoft IME Japanese language or something similar so you can type the symbols out yourself. Although that may require learning some Japanese.
0
Beautiful Active Dedicated
27 April 2019, 00:09
what does that say?
+1
Hurricane999
27 April 2019, 12:47
The translation of this word is "Japanese language".
+5
mastere
20 October 2020, 05:14
こんにちわ (konnichiwa) means hello in Japanese.
The word 日本語 (nihongo) means the Japanese language. The 語 (go) means language here and the 日本 (nihon) refers to Japanese or Japan. The word originated in reference to Japan as "the land of the rising sun" during relations between Japan and China.
0