Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Requirements 1 ) Please read and run CircleArea.java as provided in Chapter 9 . 2 ) Rename CircleArea.java to CircleAreaYourLastName.java and modify it so that

Requirements1) Please read and run CircleArea.java as provided in Chapter 9.2) Rename CircleArea.java to CircleAreaYourLastName.java and modify it so that it willrepeat only when the user enters Y and terminate only when the user enters N.All other user inputs such as y,n,k,7 are considered invalid input and theuser needs to reenter.3) The modified program must run similarly to the example run below:java CircleAreaYourLastNameEnter the circle's radius: 10The area is 314.16.Do you want to do this again? (Y or N) YEnter the circle's radius: 11The area is 380.13.Do you want to do this again? (Y or N) yDo you want to do this again? (Y or N) nDo you want to do this again? (Y or N) kDo you want to do this again? (Y or N)7Do you want to do this again? (Y or N) N2. Submission1) CircleAreaLastName.java (the source code file, instead of the screenshot of code)[80 marks]2) Screenshot of your program output which must show your program works asrequired [10 marks]3) Documentation and style [10 marks[]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions