一个小程序,~~

[复制链接]
查看11 | 回复1 | 2006-3-28 12:58:16 | 显示全部楼层 |阅读模式
PASCAL程序:uses crt;var i,o,p:integer;begin readln (p); for i:=1 to p do beginfor o:=1 to p do write ('*'); writeln; end; readkey; end.
回复

使用道具 举报

千问 | 2006-3-28 12:58:16 | 显示全部楼层
#includeint main(){int nscanf("%d",&n);for(i=0,ivoid main () { int i,j,j1;printf("Input A Number:");scanf("%d",&i);for(j=0;jint main(){ int n=0; cin>>n;for (int i=0;i<n;i++){for(int j=0;j<n;j++){ cout<<"*";}cout<<endl; }return 0;}
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行