Question: Getting Started with JAVA Part 1: Overview of JAVA- Some Simple Exercises Complete the JAVA output column of the table below (Use the same class
Getting Started with JAVA
Part 1: Overview of JAVA- Some Simple Exercises
| Complete the JAVA output column of the table below (Use the same class LabA1Main and file LabA1Main.java, in the labA package, and simply replace the code within the method) package week1Worksheet; public class Week1Worksheet { public static void main(String[] args) { // TODO Auto-generated method stub } } | JAVA Output (Copy & paste the output from running LabA1Main)
|
|
System.out.println(2+6); | |
| System.out.println(4-5); | |
| System.out.println(14*292); | |
| System.out.println(12345/6789); | |
| System.out.println(Math.pow(3,7)); | |
| System.out.println(Math.sqrt(5)); | |
| double b =5*Math.PI; System.out.println(b); | |
| double c = Math.sin(Math.PI)+4; System.out.println(c); | |
| System.out.println((2+3*Math.pow(4,2))/24); | |
| System.out.println(Math.exp((Math.PI*4)-5)); | |
| int grade = 95; System.out.println("Your grade is " + grade); |
Fill out putting these in a Java Platform to get the outcome of each problem thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
