Question: 1. Create a new file fallMars.cpp which will contain a program to compute the falling distance and velocity on the mars. The program should read
1. Create a new file fallMars.cpp which will contain a program to compute the falling distance and velocity on the mars. The program should read in the time in seconds. The formula for the velocity after t seconds is: velocity = g * t where g = 3.73 meters per second"2 and 1 is the time in seconds. The formula for the distance after t seconds is: distance = (1 /2) * velocity * t CSE1222 Lab 2 CSE1222-Spring 2018 Write your program using the following initial code: / File: fallMars.cpp // Created by Your Name / Created on: Creation Date /Place your comment here / #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
