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!\"");
}

}

asked 27 May '15, 15:12

Haider%20Abdullah's gravatar image

Haider Abdullah
12
accept rate: 0%


Remove " from the first line and " from the last one.

link

answered 28 May '15, 07:33

heltin's gravatar image

heltin
111
accept rate: 0%

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

answered 28 May '15, 08:31

Aliskander's gravatar image

Aliskander
111
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:

×42
×31
×7

Asked: 27 May '15, 15:12

Seen: 1,719 times

Last updated: 28 May '15, 08:31