From the user, an air temperature and a dewpoint temperature are given.
To convert the saturated vapor pressure and/or the actual vapor pressure, the temperature values must be converted to degrees Celsius
For information on how to do this see the link below:
Then, the saturated vapor pressure and the actual vapor can be calculated using the formula listed below:
For a bonus answer, after calculating the vapor pressures the relative humidity can be calculated using the formula below:
The vapor pressure answers will be in units of millibars or hectoPascals
To convert the vapor pressure to other units, see the link below: