Plan to conquer the world

  • 6
  • Locked
"First, I'll complete the tasks, then I'm going to make a lot of money. Then I'll take over the world". We found this written in a modest young man's personal journal. Let's imagine he knows exactly when this will happen: we'll use the keyboard to enter a number (the number of years it will take to achieve his goal) and the name of the hopeful conqueror. Then we'll display an interesting phrase.
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Jurabek KuralbaevLevel 4 , Tashkent
26 May, 21:43
Please help
Jurabek KuralbaevLevel 4 , Tashkent
25 May, 23:57
How can I resolve this?
KingBiggieLevel 7 , Bodegraven
24 April, 07:58
In no way it's clear you have to read the number first. There's no reasoning for this order right? The code handles it the same way as far as I can see. It makes the assignment very unrewarding when you finally find that error.
AlexLevel 41
26 April, 09:10
How is it not clear when we twice say that you need to enter the number and name? Then we also mention that the order of the input matters.
KingBiggieLevel 7 , Bodegraven
9 May, 14:06
Thanks, I missed that last part about the order mattering a lot (and obviously found out the hard way it does). This once again shows that practice > just reading theory and that this way of learning to code works ;).
Tom VandermolenLevel 4 , Redmond
6 June, 23:19
How about saying "enter the number and the name, in that order"? You can then leave out the "the order of the input matters" part. It's much more concise and clearer that way.
SamanthaLevel 4 , Crofton
5 April, 20:12
when I do name number then name then the 3rd to last requirement is lost it says there is no entered name but when i put it the other way around it says there IS an entered name. heeelllp
MLALevel 16 , Philadelphia
2 April, 19:06
The input data isn't written on the InteliJ Conditions.tcs page. This makes it impossible to know that you got the order 'wrong' until you run back to the website and either see the input data, or run the code and see it backwards.
Geoff GreenLevel 10 , Calgary
27 January, 05:20
Make sure you read the description! You must enter the number then the name. Even though it shows name then number right after saying that at the start of the description.
Nickolas JohnsonLevel 8 , St. Louis
18 February, 00:30
Thanks a bunch. It's the little things that seem to get me every fregin time!
Fayçal Ben SassiLevel 8 , Ben Arous
4 October 2019, 22:09
Done, I can't see the result of my code in IntelliJ IDEA though. Could you please telle me how to display my code. Thanks.
Debabrata DasLevel 6 , Bhubaneswar
21 September 2019, 12:14
/* Comment has been deleted */
RomanLevel 41
23 September 2019, 07:44
Posting the solution in the comments is prohibited.
Tauqeer ArifLevel 7 , Jhelum
12 September 2019, 06:53
What the hell is wrong with last statement
RomanLevel 41
13 September 2019, 05:50
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
Justin SmithLevel 8
20 August 2019, 01:55
The exercise itself was not difficult, but the page before this explaining the various keyboard input options was not very descriptive. The description of the task itself is also deceiving, as no actual keyboard input is necessary. It should do a better job to describe what the inputs are and why it is presented the way it is. Telling the user to enter the name and number is deceiving.
Vicky MillinshipLevel 8 , Walton le Dale
4 January, 21:31
Not sure I agree. The requirements do not make it necessary for the outputted statement to be anything about Kevin or his plans for world domination, just that the variables for 'name' and 'time' are inputted into the computer and displayed, in that order, in a string. It doesn't work on the website, obviously, but despite it not accepting my program it did work in intelliJ so *shrug*.