Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases In Action

Authors: Dave Bechberger, Josh Perryman

1st Edition

1617296376, 978-1617296376

More Books

Students also viewed these Databases questions

Question

Will it ever be executed?

Answered: 1 week ago