iPhone Cost Calculator

Your mission is to create a calculator that provides the following information to your customer:

Use the price of a top end iPhone XS Max which is $1,499.99.

How do you write a program:
-convert the value of an iPhone into gallons of gas or packs or gum or cups of Pumpkin Spice Latte’?
-capture price and amount as variables?
-insert these variables into the output of your program?

When you have completed this task please upload to trinket.io and share with me by clicking here.