I need help big Time I am having trouble trying to do this assignment
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.
1 day ago - 3 days left to answer.
here is my code below check whats wrong with it please
#include <iostream>
#include <cmath>
using namespace std;