Question: PLEASE HELP !!! i don't know how to program so can someone give me the program sequence for this assignment 58.3% CSE 110: Principles of

 PLEASE HELP !!! i don't know how to program so can

someone give me the program sequence for this assignment 58.3% CSE 110:

Principles of Programming Languages Assignment 1 Overview In this assignment you will

write a program that will "fire" a cannonball at a mid-air target

and determine if the cannonball hits the target or not. Five variables

PLEASE HELP !!! i don't know how to program so can someone give me the program sequence for this assignment

58.3% CSE 110: Principles of Programming Languages Assignment 1 Overview In this assignment you will write a program that will "fire" a cannonball at a mid-air target and determine if the cannonball hits the target or not. Five variables needed for this calculation wil be provided by the user. Your program will do minor input validation on this input and will output the outcome of your calculations. See the diagram below for an example of what we are calculating s: Slant Range Bullet Trajectory a Inclination Angle RH: Horizontal Distance From: Wikipedia, Trajectory Requirements Your program must do the following in order to receive full credit on this assignment 1. Ask the user to provide the following values which you will store as a double, one at a time, with a proper message for each (ie. "Please type in the height') a Velocity - The speed (in feet per second) at which the cannonball is fired b. Angle - The angle (in degrees) above the ground at which the cannonball is fired (this is called the inclination angle in the above diagram) c. Distance - This is the horizontal distance (in feet) to the target (RH in the above diagram)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!