Help Please

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.

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.
Topic archived. No new replies allowed.