Question: JAVA Coding: Develop an interactive java program using dialogs for both input and output, name your Java file and Class Project03_to calculate the following Mathematical

JAVA Coding:

JAVA Coding: Develop an interactive java program using dialogs for both input

and output, name your Java file and Class Project03_to calculate the followingMathematical series using an interactive menu. You should display a menu withthe following items: ---- +2N) 1. (2 +4 +6 + 2. (2+12+

Develop an interactive java program using dialogs for both input and output, name your Java file and Class Project03_to calculate the following Mathematical series using an interactive menu. You should display a menu with the following items: ---- +2N) 1. (2 +4 +6 + 2. (2+12+ 36+ 3.12 + 4. ++ 3 5. Exit 4710 (N+1)N") N 3N-1 (N+1) N: Once user select a number in the range of 1-4, prompt the user for the value of N, a positive integer. If the number entered is anything other than integers between 1 and 5, display an error message and ask user to enter a number between 1 and 5. Design a method called menu to display the menu as shown above. For menu items 1- 4, design methods with input argument N that returns the value of formula (use double data type to represent the output argument). Design another method to display the results. Submit: Sample Runs Math Series ? CSC 229 - Project 03 (Math Series) Select a Series by Pressing the Number Key Associated 5 to Exit the Program 1) 2+4+5+ 2) 2+12 36+ 3) 114-es 4) 2/113 +2N *(N+1)^2 +N3N+1) +IN+1) 5) EXIT OK Cancel Math Series X i Enter a Positive Integer Number for N OK Cancel Math Series ? CSC 229 - Project 03 (Math Series) 2 +4 +6 + + 2x5 - 30 OK Math Series ? CSC 229 - Project 03 (Math Series) Select a Series by pressing the Number Key Associated 5 to Exit the Program 1) 2+4+6+ 2) 2+12+36+ 3) 1/4+2/7+ 4) 2/11+3/21 +2N +IN+1)N^2 ......N(3N+1) .... (N+1N! 5) EXIT 2 OK Cancel Math Series i Enter a Positive Integer Number for N OK Cancel Math Series ? ? CSC 229 - Project 03 (Math Series) 2 + 12 + 36 + ........ +(6+1)x6^2 = 532 OK Exit Math Series X ? CSC 229 - Project 03 (Math Series) Select a Series by pressing the Number Key Associated 5 to Exit the Program 1) 2+4+6+ 2) 2+12+36+ 3) 1/4+27+ 4) 2/11+3/21+ +2N +(N+1)N^2 +N/(3N+1) +(N+1)/N! + 5) EXIT OK Cancel Thank You for using the Math Series Good By OK

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!