Menu
a javascript program that will take as input the miles driven and gallons used (both as integers) for each tankful.program should calculate and outpul xhtml text that displays the number of miles per gallon obtained for each tankfull and prints the combined number of miles per gallon obtained for all tankfuls up to this point. must use prompt dialogs to obtain data from user…thanks in advance for your help!!