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 trialChristopher Gomez
Courses Plus Student 13,800 PointsTrying to follow video code not passing keep getting the error message
I get this
mcs program.cs && mono Program.exe
(1,12): error CS1525: Unexpected symbol .', expecting
,', ;', or
='
and this
mcs -debug Program.cs && mono --debug Program.exe
(1,12): error CS1525: Unexpected symbol Program'
(1,33): error CS1525: Unexpected symbol
debug'
3 Answers
Thor Giversen
771 PointsI think you are missing a { to start your while loop. Not sure if that will fix all the error messages though.
Good luck :)
Christopher Gomez
Courses Plus Student 13,800 PointsThor Giversen well there suppose to be one but didn't fix it I still get the same error I even tried copying the code in the teacher's notes to see if it passes but didn't
Christopher Gomez
Courses Plus Student 13,800 PointsJeremy Maclin you whats going on?
Christopher Gomez
Courses Plus Student 13,800 PointsChristopher Gomez
Courses Plus Student 13,800 Pointsusing System;
namespace Treehouse.FitnessFrog { class Program { static void Main() { int runningTotal = 0;
}