So I have a placeholder question in the code that i am reviewing
{
Console.Clear();
Console.WriteLine("{0,24}", "Calories Burned");
Console.WriteLine("\n{0,15}:{1,8:f1} hours", "Hours", hours);
Console.WriteLine("{0,15}:{1,8:f1} minutes", "Minutes", minutes);
Console.WriteLine("{0,6}:{1,8:f1} calories burned", "Calories Burned", CaloriesBurned);
Console.ReadKey();
}
I know the first half of the following code "{0,15}" , 0 is placeholder and "15" is the number of positions it will print that output to the right . But what is the part: "{1,8:f1)" 'f1' I understand its float one to the right.
"{0,15}:{1,8:f1} minutes"
{0,6}:{1,8:f1}
thanks again