Creating a White-Spaced Diamond Pattern in Java

Basic Description

BASIC DESCRIPTION

For Basic Description, Click Here>>

OUTPUT

Logic Used

–> n=n/2
–> j=n-i+1
–> j=2*i-1
–> j=n-i+1
–> j=i
–> j=2*(n-i)+1
–> j=i
SOURCE CODE

Author Description

humanz

Our mission is to bring the affordable Technology education to people everywhere, in order to help them achieve their dreams and change the world. - Follow @program_guide

No comments yet.

Join the Conversation