i have a task this . and wrote code in it ,

package com.javarush.test.level01.lesson04.task01;

/* Blame the guy who can't speak English
Write a program that displays «If something goes wrong at the office, blame the guy who can't speak English.»
*/
public class Solution
{
    public static void main(String[] args)
    {
        String s = "if something goes wrong at the office, blame the guy who can't speak English." ;
        System.out.println(s);
    }
}

but i got following result from that code output .

✓ The program is compiled without errors. ✗ The program runs correctly but it has not pass testing. This is program output during runtime:

if something goes wrong at the office, blame the guy who can't speak English.

please tell me what is a pass testing .

asked 10 Mar '15, 11:15

Muhammad%20Hassan%20Durrani's gravatar image

Muhammad Has...
4311424
accept rate: 0%

edited 13 Mar '15, 06:56

Elleonora%20Carry's gravatar image

Elleonora Carry ♦♦
275


If something goes wrong at the office, blame the guy who can't speak English.

if something goes wrong at the office, blame the guy who can't speak English.

May be it is different in the first letter. There is BIG I in the task and small i in your program.

link

answered 10 Mar '15, 12:55

RabenokDmitry's gravatar image

RabenokDmitry
1263
accept rate: 14%

edited 10 Mar '15, 12:55

i did as you said but the problem is still same .

(10 Mar '15, 15:06) Muhammad Has...

got this error too in my 2nd task of level 1 and lesson 4 , "✓ The program is compiled without errors. ✗ The program runs correctly but it has not pass testing. This is program output during runtime " please help me out form this problem

(10 Mar '15, 15:10) Muhammad Has...

thanks . problem is solved :)

(10 Mar '15, 15:28) Muhammad Has...

Please mark this question closed

(10 Mar '15, 16:40) Elleonora Carry ♦♦
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:

×7
×3

Asked: 10 Mar '15, 11:15

Seen: 1,236 times

Last updated: 13 Mar '15, 06:56