刚入坑选手,希望大佬们指教!!!
在写代码之前要注意要用英文符号
//预处理命令
#include <stdio.h>
//函数的声明
如果不想在最前面进行函数声明,函数要写在主入口函数的前边,代码是从上到下顺序被读取
void demo();
//主入口函数
int main()
{
demo();//函数的调用
return 0;
}
void demo()
{
int x;//for循环中的变量从1到10,定义变量
int Square = 0;
int Cube = 0;
for(x=1,;x<11;x++)
{