[Feat] Point Arithmetic: Scalar Division #6
Labels
Easy
Easy tag for JWOC contributors.
Feature addition
Lable for a new Feature Addition
good first issue
Good for newcomers
JWOC
Role for JWOC contributors.
Title : Implement scalar division for points
Description:
Implement the
operator /
for the Point class to allow division of a point by a scalar value. The result should be a new Point object where each coordinate is divided by the scalar. Handle division by zero gracefully.Function Signature:
File: Point.hpp
Class: Point
Acceptance Criteria:
operator/
function to the Point class.The text was updated successfully, but these errors were encountered: