Hi could you help me, I want to write a program that Writes a function that displays at the left margin of the screen a solid square of asterisks whose
side is specified in integer parameter side. For example, if side is 4, the function displays:
****
****
****
But my code i have made has got me this when i put 4 in, do i need to put another for statment somewhere??
*
...
User Profile
Collapse
-
Making a Block Square with Asterisks
-
Many thanks again guys, thats really helpful.
Its falling into place with the things ive learn't, nice one -
Thats mint, thanks for the explanation, I really understand now. They should have had that in the textbook! Im up on my function definitions and have gone through quite a few programs its just he slightest new thing that i havent come across throws me, when it shouldn't.
Thanks againLeave a comment:
-
Well I know that as that's why the text book uses it.
Could someone help me and explain how this program works in a few words?
Also am I right in thinking this a case of "passing integers to function even" - or is that something else?Leave a comment:
-
Could someone explain this for me?
Hi, ive been reading these forums for a while and just now after reading something that makes no sense to me I thought I might as well ask on here for some help.
Basically I was reading through a textbook example showing how to determine if numbers are odd or even and it basically dosent explain how it works, just tells you that it does.
What is really bugging me, and I cant get my head round it is why does it state...
No activity results to display
Show More
Leave a comment: