C语言题 不会做啊 求大神啊啊啊?
1个回答
2019-11-22
展开全部
int main()
{
int a[25] = { 1,2,3,4,5,2,4,6,8,10,3,6,9,12,15,4,8,12,16,20,5,10,15,20,25 };
for (int i = 0; i < 25; i++)
{
if (i % 5 == 0 && i != 0)
{
printf("\n");
}
printf("%d ", a[i]);
}
}
{
int a[25] = { 1,2,3,4,5,2,4,6,8,10,3,6,9,12,15,4,8,12,16,20,5,10,15,20,25 };
for (int i = 0; i < 25; i++)
{
if (i % 5 == 0 && i != 0)
{
printf("\n");
}
printf("%d ", a[i]);
}
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询