# programming Code

Hello. I need this information ASAP. I have three questions that need code written for them to run. All three are word problems that need to be translated into code. 1) Projectile Motion: Suppose a ball is thrown straight up in the air with an initial velocity of 50 feet per second and an initial height of 5 feet. How high will the ball be after 3 seconds? (Answer is 11)

2) Gas Mileage: A motorist wants to determine her gas mileage. At 23,352 miles (on the odometer) the tank is filled. At 23,695 miles the tank is filled again with 14 gallons. How many miles per gallon did the car average between the two fillings? (Answer is 24.5) and 3) Pizza: Americans eat an average of 350 slices of pizza per second. How many slices of pizza do they eat per day? (Answer is 30240000). All three questions have one button #1Named - Compute Height After 3 Seconds, #2 Named - Compute Gas Mileage, and #3 Named- Compute Number of Slices per Day, and each has one text box. The name of form 1 is Projectile, form 2 is named Mileage and form 3 is named Pizza. Thank you.