0

C++ finding number of acute angles from given number of points

hi guys, i am stuck with my c++ assignment, the user need to enter a set of N points on 2d plain and the program needs to calculate of acute triangles that can be formed. any insights please

23rd Sep 2018, 12:24 PM
Motlatsi Mokhalinyane
Motlatsi Mokhalinyane - avatar
5 Antworten
+ 1
Motlatsi Mokhalinyane can you show us your code so far?
23rd Sep 2018, 12:48 PM
Ulisses Cruz
Ulisses Cruz - avatar
+ 1
hi Ulisses Cruz, i haven't coded yet because I didn't know the formula for calculating angle from y,x points, i will just check the link you gave
23rd Sep 2018, 1:02 PM
Motlatsi Mokhalinyane
Motlatsi Mokhalinyane - avatar
+ 1
and thank you for your time
23rd Sep 2018, 1:03 PM
Motlatsi Mokhalinyane
Motlatsi Mokhalinyane - avatar
0
hi Ulisses Cruz, here is my code so far https://code.sololearn.com/c3u7zg5J4ySF/?ref=app
23rd Sep 2018, 7:33 PM
Motlatsi Mokhalinyane
Motlatsi Mokhalinyane - avatar