Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialdavid handy
308 Pointsmethod
tried regular print statement System.WriteLine(); print ("enter this"); this also did not work.
System.Console.Write();
string entry = System.Console.ReadLine("Enter a book title:");
1 Answer
Steven Parker
231,248 PointsIt looks like you have a few things to fix:
- the string to output should be the argument to the Write method on the first line
- as Daniel observed, you're missing the space at the end of the string
- the ReadLine method takes no arguments
- the challenge asked you to create a variable named "bookTitle", but you have "entry" instead
Daniel Tkach
7,608 PointsDaniel Tkach
7,608 PointsHi,
they are asking you to write "Enter a book title: " not "Enter a book title:" as you wrote it ;)