If it's a right angled triangle, we should be able to set up an a²+b²=c² equation using 4,7 and 8. If this isn't possible, then the triangle isn't a right angled triangle.
4²=16, 7²=49 and 8²=64.
-------------------------------------
4²+7²=16+49=11+5+49=65 (not 8²)
--------------------------------------
7²+8²=49+64=43+6+64=113 (not 4²)
--------------------------------------
4²+8²=16+64=80 (not 7²)
----------------------------------------
Using this information we can see that the triangle you have described is not a right angled triangle.