Ola pessoal com meu script

Ola pessoal…podem me ajudar com este script tb

apare o erro sequinte

can not solve method println(java.lang,String,java) line 8,9,26

public class Salary
{
public static void main (String args [])
{
// intializer list specifies the integers amount
double salary [] = { 0, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200};
int value []= new int [11];
System.out.printf( “%s:%20s:\n”, “Index”, " Value"); // column heading

    for (int index = 0; index < (salary.length); index++)
    {
       if (10<=(int)Math.floor(((salary[index]*(.9)+200)*.01)))
           ++value[10];
           
        else
           ++value[(int)Math.floor(((salary [index]* (.9)+200)*.01))];
    }
       
    for (int index1 =2; index1<value.length-1; index1++)
       System.out.printf("$%5d-%5d: %10d\n",
       index1 *100,index1 * 100 + 99, value[index1]);     
   

    // output each salary element's value.
    for (int index2 =11; index2<= value.length; index2++ )
         System.out.printf( "$%5d%5s: 20d\n", index2*100-100, "& more", value[10]);

} // end main

} // end class Salary[color=red] [/color]

Ao invés de duplicar (e triplicar) tópicos, use o botão “editar”.

Vamos centralizar aqui: http://www.guj.com.br/posts/list/111300.java