Question: 1 . 3 8 Variables, input, and casting ( Java ) . Not understanding what im doing wrong. Output differs. See highlights below. Special character

1.38 Variables, input, and casting (Java). Not understanding what im doing wrong. Output differs. See highlights below.
Special character legend
Output differs. See highlights below.
Your output starts
Enter integer:
Enter double: Enter character: Enter string: 993.77 z Howdy
How
Expected output
Enter integer:
Enter double:
Enter character: 4
Enter string: 4
993.77 z Howdy
Output differs. See highlights below.
Special character legend
Your output starts
with
Expected output
starts with
Enter integer:
Enter double: Enter character: Enter string: 987655550.01 A Plethora
Ple
Enter integer:
Enter double:
Enter character:
Enter string:
987655550.01 A Plethora Output differs. See highlights below.
Special character legend
Your output starts
with
Expected output
starts with
Enter integer:
Enter double: Enter character: Enter string: 993.77 z Howdy
Howdy z 3.77,99
3.7
Enter integer:
Enter double:
Enter character:
Enter string:
993.77 z Howdy
Howdy z 3.77,99
Output is nearly correct, but whitespace differs. See highlights below. Special character legendOutput is nearly correct, but whitespace differs. See highlights below.
Special character legend
Expected output
 1.38 Variables, input, and casting (Java). Not understanding what im doing

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!