1. Write the main method for computing the sum of inverse integers, i.e., the sum 1/1 + 1/2 + 1/3 + ... + 1/n. This method should ask the user for an integer n and compute the desired sum. Trace your method on the example of n = 3, the result should be 1/1 + 1/2 + 1/3 = 1 5/6.
import java.util.Scanner;
public class Quiz6 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);