61 765
Assignments Done
97,9%
Successfully Done
In May 2018

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)

Expert's answer

Not answered

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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions