for loop

This is a discussion on for loop within the C++ Programming forums, part of the General Programming Boards category; write a programthat print the diomond shape.you may use output ststement that print eithera single asterick(*) or a single blank.using ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    1

    for loop

    write a programthat print the diomond shape.you may use output ststement that print eithera single asterick(*) or a single blank.using nested for structures..
    please help me...this is my college assignment.

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    559
    No one's going to write the program for you. Read the Deitel book. Use the nested for loops.
    Here's a clue. In some loop(s) you increment, other(s) decrement.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21