Search This Blog

Loading...

Saturday, August 30, 2014

BlueJ Program To Print a Pattern on Numbers


The pattern is as follows:
1
121
12321
1234321
123454321
1234321
12321
121
1

import java.io.*;
class Pattern
{
 int i,j,x,n,m=1;
 BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
 void show() throws Exception
 {
      System.out.println("\nHow many rows:");
      n=Integer.parseInt(br.readLine());
      for(i=0;i< m;i++)
      {
          x=1;
           for(j=0;j< m;j++)
           {
                System.out.print(x);
                if (j< m/2)
                x++;
                else
                x--;
            }
            System.out.println();
            if(i< n/2)
            m=m+2;
            else
            m=m-2;
           
        }
    }
    public static void main(String args[])throws Exception
    {
         Pattern ob=new Pattern ();
         ob.show();
        }

    }

Friday, August 29, 2014

Admission to M.D. and M.S. in National Institute of Unani Medicine


Applications are invited from eligible candidates for admission to Post Graduate Courses: Mahire Tib MD (Unani) / Mahire Jarahat MS(Unani) for the session 2014-15 in Moalajat, Ilmul Advia, Tahaffuzi Wa Samaji Tib, Ilmul Saidla, Kulliyat, Ilmul Qabala wa Amraze Niswan (Subject to permission from Govt. of India) and for Ilaj-bit-Tadbeer and Jarahat (Subject to sanction from Govt. of India)
Important Dates

Date of Notification
23rd August 2014 (Saturday)
Downloading of Challan form and Online submission of Application Forms
23rd August 2014 (Saturday)
Last Date for Submission of Filled in Application Forms through Online
10th September 2014 (Wednesday)
Last date for Submission of Hard Copy of Application Form (Print of Online Application form) along with attested copies of enclosures and Original copy of Bank Challan
12th September 2014 (Friday)
Downloading of Hall tickets through Online
16th September 2014 and Onwards (Tuesday)
Entrance Test
21st September 2014 (Sunday)
Declaration of Result / Merit list
26th September 2014 (Friday)
Date of Counselling
29th September 2014 (Monday)
Admission from I list
29th September 2014 (Monday)
Commencement of Classes
3rd October 2014 (Friday)

CHECK HERE FOR PREVIOUS POSTS

Google+ Followers

Subscribe via email

Enter your email address:

Delivered by FeedBurner