Write a java program to obtain the following shape. You must use while loops in Java to
generated the output.
Note: The & sign is line 3 has been purposefully removed.
how to do this

    & & & & &
    & & & & &
  & & & & 
& & & & &

& & & & &

Recommended Answers

What have you tried? Also, this is the C++ section but we can still help.

Jump to Post

All 2 Replies

What have you tried? Also, this is the C++ section but we can still help.

i want a code how to write this pattern if u can pls give me the answer for this question

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.