适合方程a^2+b^2=c^2的一组正整数称为勾股数或商高数.设计一个满足a
问题描述:
适合方程a^2+b^2=c^2的一组正整数称为勾股数或商高数.设计一个满足a
答
For a From 1 to 30
For b From a to 40
For c From b to 50
If a^2+b^2=c^2 Then
Print a,b,c
End For
End For
End For