Exericise1401extra Write Program Prompts User Enter Center Coordinates Radius Two Circles Q37262229

Exericise14_01Extra

Write a program that prompts the user to enter the centercoordinates and radius of two circles. The program displays thecircles and a text indicating whether the two are overlapping,whether one is contained in the other, or whether they don’toverlap, as shown below .

LExercise14-01 Exercise14 01 One circle is contained in another The circles overlap 매 Exercise!401 The circles do not overlap

here is my code. I need everything in one file.

package methods;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.shape.Circle;
import javafx.scene.paint.Color;
import javafx.scene.text.Text;
import javafx.scene.layout.Pane;
import javafx.scene.layout.VBox;
import javafx.geometry.Insets;
import javafx.stage.Stage;

public class Exercise_14_01Extra extends Application{
Circle circleOne, circleTwo;
public static void main(String[] args)
{
launch(args);
}
@Override
public void start(Stage stage)
{
Pane pane = new

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.