#include<iostream>
using namespace std;
void printstars()
{ for(int j=1;j<11;j++)
cout << "* ";
cout << endl;
}
int main()
{
for (int i = 1; i < 11; i++)
{
printstars();
}
system("pause");
return 0;
}
最后
以上就是灵巧网络最近收集整理的关于嵌套循环与printstars()函数的全部内容,更多相关嵌套循环与printstars()函数内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复