conditionals Industry

established variables and created a function