Trending ▼   ResFinder  

ICSE − Q & A

ICSE
Indian Certificate of Secondary Education (ICSE), New Delhi
+Fave Message

Ask a Question

Answer a Question!

ResFinder - Thousands of Practice Papers

prog for d pattern
123454321
1234  4321
123       321
12           21
1                1
am posting correct answer here:
class figure
{
    public static void main(String args[])
    {
        int i,j,b=0;
        for(i=5;i>=1;i--)
        {
           for(j=1;j<=i;j++)
           {
               System.out.print(j);
            }
       for(j=1;j<=b;j++)
       {
           System.out.print("  ");
        }
        for(j=i;j>=1;j--)
        {
            if(j==5)
            continue;
        System.out.print(j);
        }
       System.out.println();
       if(b==0)
       b=b+1;
       else
       b=b+2;
    }
}
}
asked by Dwaipayan Ray (dwaipayanray1) 8 years ago
1
Define polymorphism
asked by Kavya Sekhar (aswmgirl17) 8 years ago
1

+ 1 more questions by aswmgirl17  

Name the keyword that is used to invert the value of a boolean
asked by Saahil Sankar B (bestintheworld) 8 years ago
1
what is recursive method?
asked by Akanksha Kanwade (kanwade) 8 years ago
3
APC Computer text out-of-syllabus parts ?
asked by Rw45 (rw45) 8 years ago
1
Question in response
asked by Karthik Suresh (vector) 8 years ago
1
Whats "String[] args" ?
asked by Akash Divakar (akashdivakar) 8 years ago
1
write the order of precedence of all operators
asked by Hitesh Nair (hyperhitesh) 8 years ago
0

+ 1 more questions by hyperhitesh  

how to  extract a specific digit from a number input by the user?....for example the the 1rst digit or 2nd last digit...
asked by Sarashika (saika) 8 years ago
3
Hey guys
Does anyone have physical education BOARD PAPERS
If yes please upload
asked by Heth (heth) 8 years ago
1

<< Prev

    Page 338    

Next Page >>

ICSE chat

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us