Respuesta :

Answer:

The method in Python is as follows;

def licenseNum(customID,licenseYear):

     return  (100000 * customID) + licenseYear

print(licenseNum(777,2014))

Explanation:

This line declares the method with its parameters

def licenseNum(customID,licenseYear):

This line returns the expected output

     return  (100000 * customID) + licenseYear

The method is tested using:

print(licenseNum(777,2014))

Answer in c++:

void DogLicense:: CreateLicenseNum(int customID)   {

 

  licenseNum = (100000* customID) + licenseYear;

 

  return;

}

Explanation: