Skriv inn et tall - 1

"Hei, Amigo. Du gjør det bra. Her er en ny øvelse for deg: skriv et program som godtar noen data fra tastaturet og viser tekst som bruker disse dataene:"

6
Oppgave
Java Syntax,  nivålekse
Låst
Plan to conquer the world
"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.
3
Oppgave
Java Syntax,  nivålekse
Låst
Predictions
Some predictions are quite logical. For example, if you become a real programmer, then you'll have a high salary after a while. You don't have to be Nostradamus to come up with that. Let's code up a program where we indicate a name and two numbers (a salary and a number of years). Then we'll display a phrase: " will receive in years".
1
Oppgave
Java Syntax,  nivålekse
Låst
The humble programmer
Dreams about employment as a programmer can't be contained! This is no surprise: The more tasks you finish, the closer you are to achieving your dreams. Let's take another step forward by tackling a task involving humility. Use the keyboard to enter the name of a person, and then display his or her salary. The details are in the task conditions.