Points inside a figure

Points inside a figure -Java Basics homeworks SoftUni.com