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 trialAditya Vettikunnel
2,943 PointsI'm getting a command not found message from msc Program.cs
using System;
namespace Treehouse.FitnessFrog { class Program { static void Main() { // Prompt user for minutes exercised Console.Write("Enter how many minutes you exercised: "); string entry = Console.ReadLine();
// Add minutes exercised to total
// Display total minutes exercised to the screen
Console.WriteLine("You've entered " + entry + " minutes.");
// Repeat until user quits
}
}
}
2 Answers
Jennifer Nordell
Treehouse TeacherHi there! According to the title of your question, you've gotten the letters a little backwards in your command. That should be mcs Program.cs
not msc Program.cs
. Note the reversal of the positions of "c" and "s". It stands for (I believe) mono c sharp.
You can find documentation on the mono C# compiler here
Hope this helps!
Aditya Vettikunnel
2,943 PointsGot it thanks!