Answer to Question #36948 in C++ for Dharmendra Kumar

Question #36948
Write a c program that print all sets of six positive integers a1,a2,a3,a4,a5,a6 such that

a1<=a2<=a3<=20

a1<=a4<=a5<=a6<=20

and the sum of all the squares of a1,a2,a3 equals the sum of the squares of a4,a5,a6.

(Hint-generate all possible sums of three squares ,and use a sorting procedure to find duplicates)
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS