Question: 2. Create a new C++ project called Lab6B that will calculate velocity. o Declare a double constant g with a value = 32.174 o Read
2. Create a new C++ project called Lab6B that will calculate velocity. o Declare a double constant g with a value = 32.174 o Read the value of time from the Lab6B.txt file o Calculate velocity, which = 0.5*8*time? Print both time and velocity with labels (Show 2 decimal places for both.) O Close the file (After you run the program, your computer should come up with 469.10 as the result for velocity.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
