2011- 12- 27
|
#9
|
|
أكـاديـمـي ألـمـاسـي
|
رد: اختبار مبادئ برمجه
هذا المربع
#include<iostream.h>
#include<conio.h>
void main()
{
int l,i,j;
cout<<"\n please enter the length :";
cin>>l;
for(i=1;i<=l;i++)
{
cout<<"\n";
for(j=1;j<=l;j++)
{
cout<<"*";
}
}
getch();
{
الفاصله المنقوطه تكون اخر السطر ..
|
|
|
|
|
|