4--8

来源:互联网 发布:淘宝有试衣功能吗 编辑:程序博客网 时间:2024/04/29 06:56
#include<iostream.h>#include<conio.h>int main(){   int x,y;   cout<<"enter two integers in the range 1--20:";   while(cin>>x>>y)        {                   for(int i=1;i<=y;i++)                       {                         for(int j=1;j<=x;j++)                        cout<<'@';                                  cout<<endl;                        }      }     getch();    return 0;            }


原创粉丝点击