There is a problem with my code"what is your name" can anyone help me. Please check it and tell me what to do | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

There is a problem with my code"what is your name" can anyone help me. Please check it and tell me what to do

2nd Dec 2016, 8:14 PM
Mhd Tawela
Mhd Tawela - avatar
11 Answers
+ 5
Hi Mohammad, it looks fine now. Only one more thing, add one space at line 18 after "nice to me you" so it won't print the name right after "you".
2nd Dec 2016, 10:26 PM
R2-D2
R2-D2 - avatar
+ 4
You are missing a semicolon.
2nd Dec 2016, 8:15 PM
Keto Z
Keto Z - avatar
+ 4
C# is case sensitive you spelled ReadLine and WriteLine incorrectly
2nd Dec 2016, 8:39 PM
HAL8999++;
HAL8999++; - avatar
+ 3
WriteLine and ReadLine note capital L and R and W
2nd Dec 2016, 8:47 PM
HAL8999++;
HAL8999++; - avatar
+ 1
line 16
2nd Dec 2016, 8:21 PM
Stefan du Toit
Stefan du Toit - avatar
+ 1
you need a semicolon at the end of line 16. You need to use Console.WriteLine instead of Console.writeline in line 16 and 19. You also need to drop the last line that uses Console.ReadKey()
2nd Dec 2016, 8:43 PM
Stefan du Toit
Stefan du Toit - avatar
0
in wich line?
2nd Dec 2016, 8:19 PM
Mhd Tawela
Mhd Tawela - avatar
0
now?
2nd Dec 2016, 8:23 PM
Mhd Tawela
Mhd Tawela - avatar
0
it is right?
2nd Dec 2016, 8:23 PM
Mhd Tawela
Mhd Tawela - avatar
0
how the correct spelled?
2nd Dec 2016, 8:41 PM
Mhd Tawela
Mhd Tawela - avatar
0
Thanks to everyone for advices.
2nd Dec 2016, 8:52 PM
Mhd Tawela
Mhd Tawela - avatar