/home/caleb/NetBeansProjects/ADSV Java/Lab2CalebFontenot/lab2CalebFontenot/src/main/java/ComputeExpression.java |
/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template */ /** * * @author caleb */ public class ComputeExpression { public static void main(String[] args) { System.out.print("(10.5 + 2 * 3) / (45 – 3.5) = "); System.out.println((10.5 + 2 * 3) / (45 - 3.5)); } }