目录 方法1:for循环输出图案 方法2:使用心形公式 使用pow()函数修改程序 方法3:使用心形公式 方法1:for循环输出图案 #inClude #include int main() { int i,j; //开头空5行 for(i=1;i