解答过程,运行结果
是 1<=x<=9吧? 只取整数么?
#include <stdio.h> int main() { for(int i=1;i<=9;i++) printf("f(%d) = %d\n",i,3*i*i+2*i+1); return 0; }