C++ Program

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.
Similar to your other post, it looks like this problem is asking you to do it in C# and not in C++.

What troubles are you having? What is it you're finding difficult to understand? We can't help if we don't know where you need help.
Topic archived. No new replies allowed.