Go to Top

Tuesday 21 February 2012

Visitor's Request - 6

Hello Harish !

You had asked for the program to print the Pascal's Triangle, which is :


1 1 
1 2 1 
1 3 3 1 
1 4 6 4 1 

Here's your program.

Java Program :

class pattern_44
{
 static void print(int b)
 {
     int[] a=new int[b];
     a[0]=1;
     int i,j,k;
     for(i=0;i<b;i++)
     {
         for(j=i-1;j>=0;j--)
         a[j+1]=a[j+1]+a[j];
         for(k=0;k<=i;k++)
         System.out.print(a[k]+" ");
         System.out.print("\n");
        }
    }
}

I would be a bit busy for this month, owing to my ICSE exams, but in case you have any more queries, be sure to communicate them to me. I would certainly try to solve it in my free time.

Tuesday 14 February 2012

Visitors Request - 5

This was the program requested from me.

Question : To print the following pattern.

55555
54444
54333
54322
54321

Java Program :

class pattern_41
{
 static void pattern(int a)
 {
     int i,j,k;
     for(i=a;i>=1;i--)
     {
         for(j=a;j>i;j--)
         System.out.print(j);
         for(k=1;k<=i;k++)
         System.out.print(i);
         System.out.print("\n");
        }
    }
}

This is the program for it and as usual, I have included the option to extend the pattern to any length you enter.

Friday 3 February 2012

Visitors Request - 4

Hello once again Aman ! You have the following problems :

"tell me is there any way that i could low the graphics of a particular game so that i could play it on my computer because every tome i install a game it gave an error that pixel shader 2.0 not found."  

Here's a nice software that could really help you out to play your game. Just download it. The link is provided below :


The software is called "3D - Analyze". This software is used to emulate your hardware, or in other words, fool your game to believe that your computer really has whatever it wants. Install the software in a particular folder which you can easily search for. Then open it and click on the .exe file which says "3DAnalyze". Then in the top left, click on the "Select .exe" and click on the .exe file of the game in the browse window.
Then look for the boxes "VendorID" and "DeviceID" below. On the right of it will be a list of some graphics cards and their ID's. Enter the corresponding ID's in the boxes provided. You may even use some of the check boxes above. After this is done, click on "Run" at the top right part of the window and see if the game runs.

And be sure to leave a comment or two or some feedbacks or even a rating of your choice.

Visitors Request - 4

Hello once again Aman ! You have the following problems : 

"tell me is there any way that i could low the graphics of a particular game so that i could play it on my computer because every tome i install a game it gave an error that pixel shader 2.0 not found."  

Here's a nice software that could really help you out to play your game. Just download it. The link is provided below :


The software is called "3D - Analyze". This software is used to emulate your hardware, or in other words, fool your game to believe that your computer really has whatever it wants. Install the software in a particular folder which you can easily search for. Then open it and click on the .exe file which says "3DAnalyze".
Then int the top left, click on the "Select .exe" and click on the .exe file of the game in the browse window.
Then look for the boxes "VendorID" and "DeviceID" below. On the right of it will be a list of some graphics cards and their ID's. Enter the corresponding ID's in the boxes provided. You may even use some of the check boxes above. After this is done, click on "Run" at the top right part of the window and see if the game runs.

And be sure to leave a comment or two or some feedbacks or even a rating of your choice.

ShareThis