Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
nested for structures
ahmed sami
Nov 2 2012 3:28 PM
1.3k
Reply
Write a program that prints the following diamond shape. You may use output statements that print a single asterisk (*), a single space or a single newline character. Maximize your use of repetition (with nested for structures) and minimize the number of output statements.
*
***
*****
*******
*********
*******
*****
***
*
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Hello, I like to work with a while and a switch to type commands to call functions I have a functi...
Calling functions