/home/caleb/NetBeansProjects/ADSV Java/lab4_CalebFontenot/src/main/java/com/calebfontenot/lab4_calebfontenot/Lab4_CalebFontenot.java |
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt
nbfs://nbhost/SystemFileSystem/Templates/Project/Maven2/JavaApp/src/main/java/$
package com.calebfontenot.lab4_calebfontenot;
import java.util.Scanner;
@author
public class Lab4_CalebFontenot {
public static void main(String[] args) {
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();
System.out.println("\n" + i + " / " + j + " = " + (i / j));
System.out.println("\n" + x + " / " + y + " = " + (x / y));
}
}