3114 - 用for语句打印二行星号(每行20个)

通过次数

0

提交次数

0

时间限制 : 1 秒 内存限制 : 128 MB

如题

题目输入

题目输出

输入/输出样例

输入格式


                        

输出格式


                        

C++解答

#include<bits/stdc++.h>
using namespace std;

int main()
{
	for(int i=0;i<2;i++,cout<<endl)
	{
		for(int j=0;j<20;j++)
		{
			cout<<"*";
		}
	}
	return 0;
}