/home/chloe/NetBeansProjects/ADSV Java/lab4_ChloeFontenot/src/main/java/com/chloefontenot/lab4_chloefontenot/Lab4_ChloeFontenot.java
/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Project/Maven2/JavaApp/src/main/java/${packagePath}/${mainClassName}.java to edit this template
 */

package com.chloefontenot.lab4_chloefontenot;

import java.util.Scanner;

/**
 *
 * @author chloe
 */
public class Lab4_ChloeFontenot {

    public static void main(String[] args) {
        // Setup Scanner;
        Scanner input = new Scanner(System.in);
        
        System.out.println("Enter i, j, x, and y: ");
        int i = input.nextInt();
        int j = input.nextInt();
        double x = input.nextDouble();
        double y = input.nextDouble();
        //int i = 11,
        //    j = 22;
        //double x = 11.11,
        //       y = 22.22;
        
        // Changed addition to division
        System.out.println("\n" + i + " / " + j + " = " + (i / j));
        System.out.println("\n" + x + " / " + y + " = " + (x / y));
    }
}