Delphi Code Puzzle: 001 Problem: Let the user type it's name in a string variable sName. The program should output 'Hello Delphi Programming World, *sName*'.
Puzzle Solving Description
This problem should be solved by using only three lines of Delphi Pascal code.
Your task is to solve this code puzzle by assembling a program code one line at a time. For each code line, your will be presented with four options. Each option represents a Delphi Pascal command. Only one line will be the correct pick - sometimes even more of them. You'll know if you've picked the correct line only when finish the puzzle.
When you reach to the end - by solving this Delphi Pascal code puzzle, you'll have the option to see whether your code can be compiled in Delphi, or not.
If the code is correct and, therefore, can be compiled, BRAVO, you've solved the puzzle.
The solved code puzzle
This code puzle is designed to help you understand how all the code puzzles work. Here goes the code for the solved puzzle.
Try the Puzzle
See if you can solve this Delphi Code Puzle: Start the PUZZLE
p.s.
Now, that you have the puzzle solved this should not be to hard :)