Computer Science, asked by anshu12310, 1 year ago

wap to print the pattern
****1
***2*
**3**
*4***
5****


angel974: byeeee
amshu1234: hmm
amshu1234: byeeee
amshu1234: love u
angel974: waise mummy ko tu farewell wale din acchha lga
amshu1234: dp change krdiyo
amshu1234: acha
angel974: bol rhi thi un to suthhra h
amshu1234: k boli
angel974: haaan thik h

Answers

Answered by Bond54132
1

The answer in Java is:

class pattern

{

   void main()

   {

       int c=5,l=1;

       for(int i=1;i<=5;i++)

       {

           for(int j=1;j<=5;j++)

           {

               if(j==c)

               System.out.print(l);

               else

               System.out.print("*");

           }

           c--;

           l++;

           System.out.println();

       }

   }

}


anshu12310: K tha yaar
Answered by angel974
1

I don't know the answer


angel974: mere nye ques ka ans kr dio
angel974: ise to delete kr dete h
angel974: gadhhe
angel974: khin ke
angel974: or tu bhi yaar rpy to kr dia kr
angel974: pta nhi khaan busy rhta h
anshu12310: areee
anshu12310: Kl result aaya tha
Similar questions