#include <stdio.h>
#include <math.h>
int main()
{
int x, y;
printf("There are following numbers:\n");
for(x = 1; x < 100; x++)
{
for(y =1; y < 100; y++)
{
if(x * 100 + y == pow((x + y),2))
{
printf("%d ", x * 100 + y);
}
}
}
}
求解问题三(C语言程序设计)
最新推荐文章于 2024-10-30 15:52:39 发布