Help Please

dagreat45 (12)
I am having a problem writing this C++ funcion can you please help me with the question below

Write a C++ function void triplets(void) which computes and outputs the pythagorean triplets for the diophantine equation:

a^2+b^2=c^2, in the range 1<a,b,c<30.

webJose (2947)
Sorry, this is not a homework service. We help people understand C++ and their mistakes. Your post contains no mistakes to help you with, except the one where you think this is a homework service.
Code Assassin (295)
http://www.cplusplus.com/forum/beginner/1/

Please read this.
Registered users can post here. Sign in or register to post.