c语言代码求

时间:2023-01-18 17:56:43

哪个大佬能看看我哪里写错了,看了老半天了,不会写,谢谢了

#include <stdio.h>
#define   LOWER  1
#define   UPPER  500
#define   STER   5
int main()
{
int one;
       for (one = LOWER, one <= UPPER, one = one + STER)
printf("%d\t%d\n", one, (one * 5));
}

最佳答案

C语言的for中,分隔符是分号非逗号,以下是正确的

c语言代码求