<reponame>Badwolf369/cs161-lab-1-Sam-Wilde<filename>programming_project_4.py<gh_stars>0
#startup dialogue
print('The current population in the US is '+307357870)
print('I calculate how much that population will change in a given number of years')
print('Please enter a number of years')

#runs calculations
numYrs = int(input('-->:'))   #input prompt; int() converts input to integer
numBrnYrl = 4505142.857
numDieYrl = 2425846.154
numImgYrl = 901028.5714
numGanYrl = (numBrnYrl+numImgYrl)-numDieYrl
newPop = numYrs*numGanYrl

#final dialogue; str() converts calculations to strings
print('The population in '+str(numYrs)+' will be '+str(newPop))
#startup dialogue
print('The current population in the US is '+307357870)
print('I calculate how much that population will change in a given number of years')
print('Please enter a number of years')

#runs calculations
numYrs = int(input('-->:'))   #input prompt; int() converts input to integer
numBrnYrl = 4505142.857
numDieYrl = 2425846.154
numImgYrl = 901028.5714
numGanYrl = (numBrnYrl+numImgYrl)-numDieYrl
newPop = numYrs*numGanYrl

#final dialogue; str() converts calculations to strings
print('The population in '+str(numYrs)+' will be '+str(newPop))
#startup dialogue #runs calculations #input prompt; int() converts input to integer #final dialogue; str() converts calculations to strings