I also need help understanding the following code instructions for C++.
AgeConvert();
In this challenge you will create a C# method that calculates the users age.
Your code should do the following:
• You will display to the user the name and age they have entered.
• You will then write code that converts the age to the number of days the user has been
alive and display the results (extra credit for leap year calculation).
• You will then write code that converts the age and displays the results for the number of
hours, minutes, and seconds the user has been alive.
User Input:
• Prompt the user to enter in their name.
• Prompt the user to enter in their age.
Console Output:
• Display the user’s name and the number of days the person has been alive.
• Display the user’s name and the number of hours the person has been alive.
• Display the user’s name and the number of minutes the person has been alive.
• Display the user’s name and the number of seconds the person has been alive.
Additional Requirements:
• Label the method “AgeConvert”.
• You will need to insert an “AgeConvert()” call in the main method section of this
assignment.