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
icon
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
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
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
Step 1

code : 

Computer Science homework question answer, step 1, image 1

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Software products
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education