Why does this code print only the name, but not the place? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Why does this code print only the name, but not the place?

https://code.sololearn.com/c03vXlM9kjFI/?ref=app

7th Apr 2019, 6:17 AM
SWETA X
SWETA X - avatar
2 Answers
+ 2
Change line 18 to Console.WriteLine("Hello, {0} of, {1}",name,place); See: https://www.sololearn.com/learn/CSharp/2584/ second page Remember to enter name and place seperated by cariage return and then submit.
7th Apr 2019, 6:30 AM
Louis
Louis - avatar
+ 1
İn the input window need to write name, next press 'enter' and write place and after that press to 'confirm' in window box
17th Apr 2019, 2:09 PM
vitalii
vitalii - avatar