Language: Java

import java.util.Scanner;
public class Main {
  public static void main(String[] args) {
    Scanner sc= newScanner(System.in);
    while(true) {
      intn = sc.nextInt();
      if (n == 0) { break; }
      int[] scores = new int[n];
      for(inti= 0; i< scores.length; i++) {
        scores[i] = sc.nextInt();
      }

    double average = 0, variance = 0;
    int a;

    for(i=0;i<scores.length;i++){
      average+=scores[i];
    }
    average=average/n;

    for(i=0;i<scores.length;i++){
      variance+=(scores[i]-average)*(scores[i]-average);
    }
    variance=variance/n;

    System.out.println(Math.sqrt(variance));
    }
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
    Scanner sc= newScanner(System.in);
                ^
  symbol:   method newScanner(InputStream)
  location: class Main
Main.java:6: error: cannot find symbol
      intn = sc.nextInt();
      ^
  symbol:   variable intn
  location: class Main
Main.java:7: error: cannot find symbol
      if (n == 0) { break; }
          ^
  symbol:   variable n
  location: class Main
Main.java:8: error: cannot find symbol
      int[] scores = new int[n];
                             ^
  symbol:   variable n
  location: class Main
Main.java:9: error: cannot find symbol
      for(inti= 0; i< scores.length; i++) {
          ^
  symbol:   variable inti
  location: class Main
Main.java:9: error: cannot find symbol
      for(inti= 0; i< scores.length; i++) {
                   ^
  symbol:   variable i
  location: class Main
Main.java:9: error: cannot find symbol
      for(inti= 0; i< scores.length; i++) {
                                     ^
  symbol:   variable i
  location: class Main
Main.java:10: error: cannot find symbol
        scores[i] = sc.nextInt();
               ^
  symbol:   variable i
  location: class Main
Main.java:16: error: cannot find symbol
    for(i=0;i<scores.length;i++){
        ^
  symbol:   variable i
  location: class Main
Main.java:16: error: cannot find symbol
    for(i=0;i<scores.length;i++){
            ^
  symbol:   variable i
  location: class Main
Main.java:16: error: cannot find symbol
    for(i=0;i<scores.length;i++){
                            ^
  symbol:   variable i
  location: class Main
Main.java:17: error: cannot find symbol
      average+=scores[i];
                      ^
  symbol:   variable i
  location: class Main
Main.java:19: error: cannot find symbol
    average=average/n;
                    ^
  symbol:   variable n
  location: class Main
Main.java:21: error: cannot find symbol
    for(i=0;i<scores.length;i++){
        ^
  symbol:   variable i
  location: class Main
Main.java:21: error: cannot find symbol
    for(i=0;i<scores.length;i++){
            ^
  symbol:   variable i
  location: class Main
Main.java:21: error: cannot find symbol
    for(i=0;i<scores.length;i++){
                            ^
  symbol:   variable i
  location: class Main
Main.java:22: error: cannot find symbol
      variance+=(scores[i]-average)*(scores[i]-average);
                        ^
  symbol:   variable i
  location: class Main
Main.java:22: error: cannot find symbol
      variance+=(scores[i]-average)*(scores[i]-average);
                                            ^
  symbol:   variable i
  location: class Main
Main.java:24: error: cannot find symbol
    variance=variance/n;
                      ^
  symbol:   variable n
  location: class Main
19 errors