SlideShare a Scribd company logo
1 of 1
Download to read offline
Fill in the blanks of the following code for a Point class that overloads the less than and equals
operators. Points are compared by their x values, but if their x values are the same, then they
should be compared by their y values. Note: matches may be reused.

More Related Content

More from anbika110

Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf
 Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf
Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdfanbika110
 
Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf
Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdfanbika110
 
Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf
 Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf
Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdfanbika110
 
Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf
Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdfanbika110
 
Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf
 Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf
Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdfanbika110
 
Fill in the array with the values that would be stored after the code.pdf
 Fill in the array with the values that would be stored after the code.pdf Fill in the array with the values that would be stored after the code.pdf
Fill in the array with the values that would be stored after the code.pdfanbika110
 
Figure 3 People with no qualifications and degree level qualificatio.pdf
 Figure 3 People with no qualifications and degree level qualificatio.pdf Figure 3 People with no qualifications and degree level qualificatio.pdf
Figure 3 People with no qualifications and degree level qualificatio.pdfanbika110
 
Exercise 4 Write a C function that takes a positive integer n as an .pdf
 Exercise 4 Write a C function that takes a positive integer n as an .pdf Exercise 4 Write a C function that takes a positive integer n as an .pdf
Exercise 4 Write a C function that takes a positive integer n as an .pdfanbika110
 
Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf
 Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf
Figure Strawberries and Submarines The opportunity cost of 1 submari.pdfanbika110
 
FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf
 FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf
FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdfanbika110
 
Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf
 Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf
Fil in the P(X=x) values to give a legnimute probabiity distribution .pdfanbika110
 
Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf
 Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf
Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdfanbika110
 
Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf
 Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf
Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdfanbika110
 
Figure External Benefits The distance between point E and point M re.pdf
 Figure External Benefits The distance between point E and point M re.pdf Figure External Benefits The distance between point E and point M re.pdf
Figure External Benefits The distance between point E and point M re.pdfanbika110
 
Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf
 Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf
Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdfanbika110
 
fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf
 fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf
fartord Jeweiers uses a perpetual inventory systam and had the follow.pdfanbika110
 
Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf
 Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf
Fancy Ciothing Company is authorized to issue 110.000 shares of.pdfanbika110
 
Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf
 Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf
Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdfanbika110
 
Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf
 Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf
Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdfanbika110
 
Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf
 Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf
Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdfanbika110
 

More from anbika110 (20)

Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf
 Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf
Exercise 5-22 (Static) Recording Capital Projects Fund Transactions [.pdf
 
Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf
Exercise 4.4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 
Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf
 Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf
Exercise 4-5 (Algo) Income statement presentation [LO4-1] The followi.pdf
 
Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf
Exercise 4-4 (Algo) Multiple-step continuous statement of comprehensi.pdf
 
Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf
 Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf
Exercise 4-5 (Algo) Income statement presentation [LO 4-1] The follow.pdf
 
Fill in the array with the values that would be stored after the code.pdf
 Fill in the array with the values that would be stored after the code.pdf Fill in the array with the values that would be stored after the code.pdf
Fill in the array with the values that would be stored after the code.pdf
 
Figure 3 People with no qualifications and degree level qualificatio.pdf
 Figure 3 People with no qualifications and degree level qualificatio.pdf Figure 3 People with no qualifications and degree level qualificatio.pdf
Figure 3 People with no qualifications and degree level qualificatio.pdf
 
Exercise 4 Write a C function that takes a positive integer n as an .pdf
 Exercise 4 Write a C function that takes a positive integer n as an .pdf Exercise 4 Write a C function that takes a positive integer n as an .pdf
Exercise 4 Write a C function that takes a positive integer n as an .pdf
 
Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf
 Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf
Figure Strawberries and Submarines The opportunity cost of 1 submari.pdf
 
FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf
 FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf
FILE Divorce. Divorce has become an increasingly prevalent part of Am.pdf
 
Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf
 Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf
Fil in the P(X=x) values to give a legnimute probabiity distribution .pdf
 
Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf
 Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf
Figure 8-2 igure 8-2 shows the macro PPF. Which point(s) represent re.pdf
 
Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf
 Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf
Figure 10.4 ASCll-to-binary conversion subroutine (Fig. 10.4 continue.pdf
 
Figure External Benefits The distance between point E and point M re.pdf
 Figure External Benefits The distance between point E and point M re.pdf Figure External Benefits The distance between point E and point M re.pdf
Figure External Benefits The distance between point E and point M re.pdf
 
Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf
 Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf
Figure 2-6 Refer to Figure 2-6. What was the most likely cause of the.pdf
 
fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf
 fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf
fartord Jeweiers uses a perpetual inventory systam and had the follow.pdf
 
Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf
 Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf
Fancy Ciothing Company is authorized to issue 110.000 shares of.pdf
 
Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf
 Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf
Fare 14.3 Consumer Giscrebionary 13.9 Communication services 10..pdf
 
Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf
 Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf
Fail and Fair, ncoepted an engagement to oudit the financhi statement.pdf
 
Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf
 Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf
Factory Overhead Cost Budget Sweet Tooth Candy Company budgeted the f.pdf
 

Recently uploaded

Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 

Recently uploaded (20)

Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 

Point class overloads < and = operators for x then y comparison

  • 1. Fill in the blanks of the following code for a Point class that overloads the less than and equals operators. Points are compared by their x values, but if their x values are the same, then they should be compared by their y values. Note: matches may be reused.