reset password
Author Message
mdomin52
Posts: 3
Posted 11:08 Feb 28, 2018 |

For the Phone Number class, should the area code, prefix, and suffix be integers or strings. I  originally had them as int but I would get an error when I would set the suffix to a number like 0029.

kknaur
Posts: 540
Posted 11:12 Feb 28, 2018 |

int.  You will need to consider cases where a part of the number may have leading zeros.