CODE IN C++:
Good style: Use proper indentation and good naming conventions.
Usability: Always prompt the user for input so they know what to do and provide meaningful output messages.
Input Validation: The program should not accept invalid input, prompt the user to reenter an input that is invalid.
Documentation: Add a comments that document what each part of your code does.