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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.