0

Vectors and Functions

Hello! I wrote the following code: https://code.sololearn.com/cxjZ7CYQRTjS/?ref=app However, I’m having an error. Obviously vectors (2,3) and (-3,2) are perpendicular, but my code keeps returning not perpendicular. I am not sure why. Any help is appreciated. Thanks!!

16th Oct 2018, 1:33 AM
Miqaela Weller
Miqaela Weller - avatar
1 Odpowiedź
0
The function has to be void, sorry, i forgot to mention that.
16th Oct 2018, 2:27 PM
Miqaela Weller
Miqaela Weller - avatar