We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 0: Hello, World.
Day 0: Hello, World.
Sort by
recency
|
2139 Discussions
|
Please Login in order to post a comment
Tip for Java solvers: "Welcome" is a single token. What if you want to read ALL the tokens?
when solve the this problem with javaScript then console.log(variable) beacuse out declare in variable
What do you need to do?
Take what the user types (one line of text), which is input() in python. And we create a thing named inputString that saves that line of text.
Print “Hello, World.” on the first line. Print the saved text (stored in inputString) you got from the users input on the second line.
Here is Day 0 hello world solution in python, java, c++, c and javascript - https://programmingoneonone.com/hackerrank-day-0-hello-world-30-days-of-code-solution.html