## CS 1401, Quiz 6, MW class section

**Date:** Monday, October 6, 2014

**Name** (please type legibly, ideally in block letters):
______________________________________________________________________
1. Write the main method for computing the sum of inverse squares of
integers from 1 to n,
i.e., the sum 1/1^{2} + 1/2^{2} + ... + 1/n^{2}.
This methods should ask the user for an integer n and compute the
desired sum. Trace your method on the example of n = 2, the result
should be 1 + 1/4 = 1.25.

import java.util.Scanner;
public class Quiz6{
public static void main(String[] args){
Scanner reader = new Scanner(System.in);