Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need help please!!! Code written in C# Write a program that writes to the screen the height (in meters) of a projective launched straight up
Need help please!!! Code written in C#
Write a program that writes to the screen the height (in meters) of a projective launched straight up for each second from launch time (time 0) until the projectile hits the ground. The last entry should show a projectile height of 0. The height after t seconds is given by: S = v_0*t - 1/2 *g*t^2 where g is the gravitational constant (9.8 m/sec^2), and V_0 is the initial velocity at time 0 (gotten user). The output should look something like this: Initial velocity: 60 m/s Time (seconds) Height (meters)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started