C++20 sections · 1024 units
Open in Course

Problem - Force Vectors

OOP force calculation

You're given nn force vectors in 3D space, each with (x,y,z)(x, y, z) components. Determine if these forces are in equilibrium (their sum equals zero).

This problem demonstrates how inheritance can organize related physics concepts. You'll create a base class for vectors and extend it for force-specific behavior.

Output YES if forces balance, NO otherwise.