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 trialPhillip Breden
296 Pointswtf
WTF
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
}
}
}
1 Answer
Steven Parker
231,269 PointsWTF indeed! This code doesn't seem at all like what the challenge is asking for.
The challenge only asks for a couple of lines to read in a name and print it out again; with no functions, classes, or namespaces.
Did this question somehow get linked to the wrong challenge?