i dont know why i m not able to pass the test. i need dark material to pass level 5 here is my code. public class Solution { public static void main(String[] args) { System.out.println(""My name is Amigo."); System.out.println(); System.out.println("My salary for the first year will be $60,000"); System.out.println("My salary for the second year will be $80,000"); System.out.println("My salary for the third year will be $100,000"); System.out.println("My salary for the fourth year will be $120,000"); System.out.println("My salary for the fifth year will be $150,000"); System.out.println(); System.out.println("Kiss my shiny metal ass!""); } }

This question is marked "community wiki".

asked 27 May '15, 15:08

Haider%20Abdullah's gravatar image

Haider Abdullah
12
accept rate: 0%


Remove one double quotation mark from the first and the last println statements

link

answered 28 May '15, 07:35

heltin's gravatar image

heltin
111
accept rate: 0%

Remove it!

                       v
    System.out.println(""My name is Amigo.");
                                                 v
    System.out.println("Kiss my shiny metal ass!"");

Pay attention to small things!

link

answered 28 May '15, 08:19

Aliskander's gravatar image

Aliskander
111
accept rate: 0%

edited 28 May '15, 08:24

{ System.out.println("My name is Amigo."); System.out.println("My salary for the first year will be $60,000"); System.out.println("My salary for the second year will be $80,000"); System.out.println("My salary for the third year will be $100,000"); System.out.println("My salary for the fourth year will be $120,000"); System.out.println("My salary for the fifth year will be $150,000"); System.out.println("Kiss my shiny metal ass!"); } //this code hundred percent working just try it//

link

answered 17 Jun '15, 02:13

Raja%20Shekar's gravatar image

Raja Shekar
1
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×9
×7
×5
×3
×2

Asked: 27 May '15, 15:08

Seen: 1,914 times

Last updated: 17 Jun '15, 02:13