I need help putting a space in between my output I’m trying to find out what the problem is I am currently using zybooks java
I need help putting a space in between my output I’m trying to find out what the problem is I am currently using zybooks java
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
I need help putting a space in between my output
I’m trying to find out what the problem is I am currently using zybooks java
![12.96 1.841304610218211E11 4.5 16.2
1532.2042412.gx8zay7
LAB
2.29.1 LAB: Using math methods
ACTIVITY
LabProgram.java
1 import java.util.Scanner;
3 public class LabProgram {
public static void main(String[] args) {
4
Scanner scnr =
new Scanner (System.in);
double x;
double y;
double z;
7
8.
10
x-scnr.nextDouble();
y=scnr.nextDouble();
Z=scnr.nextDouble ();
System.out.print(Math.pow(x, z));
System.out.print (Math.pow(x, Math.pow(y,z)));
System.out.print(Math.abs (y));
System.out.print (Math.sqrt( Math.pow(x*y,z)));
11
12
13
14
15
16
17
18 }
19
When done developing your program, press the
submit your program for auto-grading.
Develop mode
Submit mode
Submit for grading](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F6961aa18-8474-4466-bd14-b02bea60c27d%2F6b984adb-7fbe-44c0-97c6-07d5d62f3a9b%2Fev2e9co_processed.jpeg&w=3840&q=75)
Transcribed Image Text:12.96 1.841304610218211E11 4.5 16.2
1532.2042412.gx8zay7
LAB
2.29.1 LAB: Using math methods
ACTIVITY
LabProgram.java
1 import java.util.Scanner;
3 public class LabProgram {
public static void main(String[] args) {
4
Scanner scnr =
new Scanner (System.in);
double x;
double y;
double z;
7
8.
10
x-scnr.nextDouble();
y=scnr.nextDouble();
Z=scnr.nextDouble ();
System.out.print(Math.pow(x, z));
System.out.print (Math.pow(x, Math.pow(y,z)));
System.out.print(Math.abs (y));
System.out.print (Math.sqrt( Math.pow(x*y,z)));
11
12
13
14
15
16
17
18 }
19
When done developing your program, press the
submit your program for auto-grading.
Develop mode
Submit mode
Submit for grading
![0,0,0,0,0,0,0,0,C
0,0,0,0,0,0,0,0 min:47
ubmission - 7:43 AM EST on 02/23/22
show failing tests
re output a
ut is nearly correct3;
whitespace differs. See highlights below.
Special character lege
Input
3.6 4.5 2.0
Your output
12.961.841304610218211E114.516.2
pected output
12.96 1.841304610218211E11 4.5 16.24
are output ^
ut is nearly correct; but whitespace differs. See highlights below.
Special character legend
Input
-3.7 -3 5
Your output
-693.4395700000001-8.452419664263233E-1393.0410.49
xpected output
-693.4395700000001 -8.452419664263233E-139 3.0 410
us submissions](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F6961aa18-8474-4466-bd14-b02bea60c27d%2F6b984adb-7fbe-44c0-97c6-07d5d62f3a9b%2F6bl2ooc_processed.jpeg&w=3840&q=75)
Transcribed Image Text:0,0,0,0,0,0,0,0,C
0,0,0,0,0,0,0,0 min:47
ubmission - 7:43 AM EST on 02/23/22
show failing tests
re output a
ut is nearly correct3;
whitespace differs. See highlights below.
Special character lege
Input
3.6 4.5 2.0
Your output
12.961.841304610218211E114.516.2
pected output
12.96 1.841304610218211E11 4.5 16.24
are output ^
ut is nearly correct; but whitespace differs. See highlights below.
Special character legend
Input
-3.7 -3 5
Your output
-693.4395700000001-8.452419664263233E-1393.0410.49
xpected output
-693.4395700000001 -8.452419664263233E-139 3.0 410
us submissions
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
Step 1
code :
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education