Anyone how tio do this ??
Write the program that will make square of stars (*) depending of inout number.
for example:
INPUT ONE NUMBER: 5
*****
*****
*****
*****
*****
[175 byte] By [
hzsemir] at [2007-11-11 8:03:58]

# 1 Re: Anyone how tio do this ??
anyone knows, please help me, i really need it
# 2 Re: Anyone how tio do this ??
you mean somthing like this...
int main()
{
int i;
cin >> i;
for(int x = 0; x < i; x++)
{
for(int y = 0; y < i; y++)
cout << '*';
cout << endl;
}
return 0;
}