Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java language, pls 1)(20 pts. )-This assignment will acquaint you with the use of parameter passing, return values, #/else blocks, and user inputs. You will
Java language, pls
1)(20 pts. )-This assignment will acquaint you with the use of parameter passing, return values, #/else blocks, and user inputs. You will create a program that prompts the user for a set of information, then executes simple algebra on those values and returns a summary report. Your program should perform the following: A) 2/20 pts.) - Prompt the user for a first shape B) 2/20 pts.)-Prompt the user for the first shape's dimensions 1) Triangles are assumed to be isosceles. C) 2/20 pts. ) -Prompt the user for a second shape 1) The prompt must indicate which shapes are still available D) (2/20 pts.)- Prompt the user for the second shape's dimensions E) (6/ 20 pts. ) - Calculate the shape perimeters and display the summary statement F) (4/20 pts.) -As an additional requirement, no method (including mainmay contain more than 12 lin instruction, discounting lines which only contain braces ("", method headers, and comments. (2/20 pts.) - Include appropriate program documentation and formatting 1) Your first and last name 2) Your contact information 3) Your student ID number 4) The date 5) A short description of the program's function 6) Comments necessary to explain the operation of your program 7) Proper indentation II ] A Sample log of execution is as follow (user inputs are in bold and underlined ctangle Define a first shape (rectangle, triangle, circle): xe Rectangle width (400 max): 350 Rectangle Height (400 max): 250 Define a second shape (triangle, circle) : circle Circle radius (200 max) 200 Rectangle perimeter: 1200.000 Circle perimeter: 1256.63 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