code that show three Pythagoras number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

code that show three Pythagoras number

Hi I want to write c++ code that get a number and show three number that sum of them is the getten number! and that three number are Pythagoras number. Ex)if we input 12. it show 3 4 5. thanks for your answer. best regards

1st Nov 2017, 4:08 PM
Alireza Falahat
1 Answer
0
thank,I will be thankful to see your code.😍
2nd Nov 2017, 1:09 PM
Alireza Falahat