Friday, 28 June 2013

Best Adsense Alternatives | Best way to earn money with out adsense

Best Adsense Alternatives in India | Best way to earn money with out adsense in India

Most of the bloggers think that once their blog got deneid by Google adsense, They thinking that their blogging carrier is going to End.
There are various ways to earn money in online.

Chitika Review

An American based ad network. Getting approval from Chitika is very Easy. There are banner ads, In line text adds and Pop up ads are available. It can be used along with adsense.

Drawbacks:
They pay only for US and Canada traffic, Clicks & views from Indian users will not be validated . Payout is low when compared to Adsense.

Clicksor Review 

It is another ad network which is when clicked will the ad open in a new window and also banner ads are available in clicksor.



Drawbacks:
Like Chitika they also pay only for US traffic, Clicks & views from Indian users will not be given more importance. Payout is low when compared Adsense.

Infolinks Review

Infolinks network are the best network for In-line text adds which will not distract users while reading contents. It  also can be used along with adsense. Getting Approval is bit easier than Adsense.

Drawbacks: High pay for Europe and American traffics. When compared to adsense cost per click  is low.


Kontera Review

Kontera serves more than 15,000 quality publishers every day . Getting approval is very very easy. Like Infolinks it is also a text-based ads. On mousehover ads will be displayed.

Drawbacks:
Low pay out and not good for Indian traffic.

Bidvertiser Review

Bidvertiser is a pay per click affiliating system. They are providing various types of ads such as banner ads, sky scrapper, mobile ads etc., BidVertiser can be used in conjunction with Adsense.

Draw backs:
Payout is not as good as adsense and not good for Indian traffic.

Admaya Review

This ad network is based on India, website with good page views daily can be approved by them.

Drawback:
When I read review about them in web, there was more negatives than positives, so think thrice before applying to this net work

Technoratimedia Review

Technoratimedia is one of a huge ad network which is considered as the best by most bloggers after adsense. This is an American based network. 
Getting approval is quiet easy and not as strict as google Adsense.

Drawback:

However the payout is not good for Indian publishers when compared to Google Adsense.

Java matrix multiplication simple example

Java matrix multiplication simple example

Here is a simple example of Matrix program. Normally Matrix program is bit complex when compared to other programs and we may get confused.
Here we have shared a small matrix program with proper comments.
Please post your doubts if you have :)

package hello;

/**
 *
 * @author surendar
 */
import java.io.*;

class mat //super class
{
int i,j,m=0,n=0;
int a[][]=new int[10][10];
int b[][]=new int[10][10];
int s[][]=new int[10][10];

BufferedReader br=new BufferedReader(new InputStreamReader(System.in));

void get() throws IOException //method for getting the values
{
    System.out.println("enter the number of rows and columns");
    m=Integer.parseInt(br.readLine());  //row of first matrix and column of second matrix
    n=Integer.parseInt(br.readLine());   //column of first matrix and row of second matrix
    System.out.println("enter the first "+m+" * "+n+" matrix value");

    for(i=1;i<=m;i++)
    {
        for(j=1;j<=n;j++)
        {
            System.out.println("enter the "+i+"th row "+j+"th column value");
            a[i][j]=Integer.parseInt(br.readLine());//gets the input for first matrix
        }
    }
    System.out.println("enter the second "+n+" * "+m+" matrix value");
    for(i=1;i<=n;i++)
    {
        for(j=1;j<=m;j++)
        {
            System.out.println("enter the "+i+"th row "+j+"th column value");
            b[i][j]=Integer.parseInt(br.readLine());//gets the input for second matrix
        }
    }
}
}

class mul extends mat
{
   
void calc()//function for calculating the matrix multiplication
{int k;
    for(i=1;i<=m;i++)
    {
        for(j=1;j<=m;j++)
        {
            for(k=1;k<=n;k++)
            {
            s[i][j]=s[i][j]+a[i][k]*b[k][j]; //formula to calculate matrix multiplication
            }
        }
    }
 }

void disp()
{
    System.out.println("The solution matrix is:");
    for(i=1;i<=m;i++)
    {
        for(j=1;j<=m;j++)
        {
            System.out.print(s[i][j]+"  ");   // displays the solution matrix
        }
        System.out.println("\n");
       
}

}
}
public class matrix {
    public static void main(String args[]) throws IOException
    {
        mul m=new mul();
        m.get();
        m.calc();
        m.disp();
       
    }
   
}

Hope this example will give you a clear idea about matrix coding in java.