利用循环嵌套实现星图 ,打印一个十行十列的星号,中间用空格隔开 #include <iostream> using namespace std; int main(){ for(int j = 0; j < 10;j++){ for(int i = 0; i < 10;i++){ cout << " * " ; } cout << endl; } system("pause"); } 运行结果截图: