[Solved]Java Project Create Object Base Attatchment Q37021745


this is java project and i have to create an object base on theattatchment above.Project- Lesson 5A – Big Gun Using the attached pseudocode, create the Big Gun” Project and attach to this dropbox. (Assigned: Friday 4/20/18) BigGun1-pseudocode.txt WA213 15 e Edt Fomut View Help eport javax. swing. 30ptionPane public class BigGun public static vold main(Stringl1 args) // (1) declare variables / Gravity as Constant of type double with a value of 32 ft_per-mile as a Constant of type double with a value of s2se 1 velocity as type double initialized at a value of 648 ft/sec // angle as type float (not initialized) // distance as type double initialized at a value of e ft // height as type double initialized at a value of e ft y as type double (not Initialized) / stringle and strloop as string data type // (2) setup a loop that win rn at least once with a conditional that test if struoco contains У. (3) ) prompt for variable strängle, b) comvert to a flost value stored in the varlable angle (velocity . . Math. toRadians(angle)) (GRAVITY . FT-PER-MILE); (4) calculate the distance as: velocity)” Math.sin(2 / (5) calculate height as (velocity elocity) .(Math.sin(lath.toladians (angle ange))) (GRAVITY FT PER MILE); /r (6) output (with string concatenation) to a terainal window the angle, distance and height on separate lines // (7) setup aloop that (a) declares and initializes a varlable, x to e ) lp tong as 1 les than on squal to the calculated distance (e) Increments xas-x 8.25 / (8) Inside the 2nd 1pop, calculate y as (height/(distance/2)) x // (9) test a conditional for y greater than height // (11) after the conditional, output the internediate values for x& y to the terminal separated with a comma // end loop in (7) here // (12) output a blank İine to the terninal WA213 1 type double with ft per sile as a Constant of t a value of 5284e / velocity as type double initialized at a value of 640 Ft/sec / agle as type float (not initialized) // distance as type double initialized at a value of ft heigt as type double Lnitialized at a value of yas type double (sot isitialized) stringle and strloop as string data type (2) setup a loop that will run at least once with a conditional that test if strloop contains y 1 (3) a) pronet for varlable stringle, b) convert to a Fleat value stored in the varkable angle // (4) calculate th. distance .s: (-locity . velocity)·Reth.sinQ·Mot,” tdatanfangle)) , (CANITY . ,,PR-Mir). 1/ (5) calcwlate height s (elocity velocity) (luth steluth.toatians(angle angle)) (GRNITY FERIL) (6) output (uith string concetenation) to a terminal windou the argle, distance and height on separate lines 11 (7) setup a loop that (a) declares and initializes varlable,x to /(D) loops as long as x is less than or equal to the calculated distance // (8) İnstde the 2nd loop, calculate y os (hel@t/(distance/2)) . х // (9) test a conditional for y greater than height // (11) after conditional, output th. Late wdlate values for x & y to the terminal separated Kİth a com. 1 end loop in (7) here (12) utput a blank 1ine to the terainal (13) proapt for continuing the loop placing the value in the appropriate string value // end the loop started in (2) here DOLL Show transcribed image text Project- Lesson 5A – Big Gun Using the attached pseudocode, create the Big Gun” Project and attach to this dropbox. (Assigned: Friday 4/20/18) BigGun1-pseudocode.txt
WA213 15 e Edt Fomut View Help eport javax. swing. 30ptionPane public class BigGun public static vold main(Stringl1 args) // (1) declare variables / Gravity as Constant of type double with a value of 32 ft_per-mile as a Constant of type double with a value of s2se 1 velocity as type double initialized at a value of 648 ft/sec // angle as type float (not initialized) // distance as type double initialized at a value of e ft // height as type double initialized at a value of e ft y as type double (not Initialized) / stringle and strloop as string data type // (2) setup a loop that win rn at least once with a conditional that test if struoco contains У. (3) ) prompt for variable strängle, b) comvert to a flost value stored in the varlable angle (velocity . . Math. toRadians(angle)) (GRAVITY . FT-PER-MILE); (4) calculate the distance as: velocity)” Math.sin(2 / (5) calculate height as (velocity elocity) .(Math.sin(lath.toladians (angle ange))) (GRAVITY FT PER MILE); /r (6) output (with string concatenation) to a terainal window the angle, distance and height on separate lines // (7) setup aloop that (a) declares and initializes a varlable, x to e ) lp tong as 1 les than on squal to the calculated distance (e) Increments xas-x 8.25 / (8) Inside the 2nd 1pop, calculate y as (height/(distance/2)) x // (9) test a conditional for y greater than height // (11) after the conditional, output the internediate values for x& y to the terminal separated with a comma // end loop in (7) here // (12) output a blank İine to the terninal
WA213 1 type double with ft per sile as a Constant of t a value of 5284e / velocity as type double initialized at a value of 640 Ft/sec / agle as type float (not initialized) // distance as type double initialized at a value of ft heigt as type double Lnitialized at a value of yas type double (sot isitialized) stringle and strloop as string data type (2) setup a loop that will run at least once with a conditional that test if strloop contains y 1 (3) a) pronet for varlable stringle, b) convert to a Fleat value stored in the varkable angle // (4) calculate th. distance .s: (-locity . velocity)·Reth.sinQ·Mot,” tdatanfangle)) , (CANITY . ,,PR-Mir). 1/ (5) calcwlate height s (elocity velocity) (luth steluth.toatians(angle angle)) (GRNITY FERIL) (6) output (uith string concetenation) to a terminal windou the argle, distance and height on separate lines 11 (7) setup a loop that (a) declares and initializes varlable,x to /(D) loops as long as x is less than or equal to the calculated distance // (8) İnstde the 2nd loop, calculate y os (hel@t/(distance/2)) . х // (9) test a conditional for y greater than height // (11) after conditional, output th. Late wdlate values for x & y to the terminal separated Kİth a com. 1 end loop in (7) here (12) utput a blank 1ine to the terainal (13) proapt for continuing the loop placing the value in the appropriate string value // end the loop started in (2) here DOLL
Expert Answer
Answer to this is java project and i have to create an object base on the attatchment above. … . . .
OR

