summaryrefslogtreecommitdiff
path: root/testapp/java_files/main_palindrome.java
diff options
context:
space:
mode:
authorprathamesh2013-07-08 11:22:01 +0530
committerprathamesh2013-07-08 11:22:01 +0530
commit754244da53f7e0a63c272ce6d1ffb15c1d5be0ae (patch)
treef505c0b5a1392f552580db5e30b8a33d6faccadb /testapp/java_files/main_palindrome.java
parent8de499263ec00be5e500693b8db7f4b5ee0d15bd (diff)
downloadonline_test-754244da53f7e0a63c272ce6d1ffb15c1d5be0ae.tar.gz
online_test-754244da53f7e0a63c272ce6d1ffb15c1d5be0ae.tar.bz2
online_test-754244da53f7e0a63c272ce6d1ffb15c1d5be0ae.zip
Added few questions. Made changes to fix minor bugs which were found during testing.
Diffstat (limited to 'testapp/java_files/main_palindrome.java')
-rw-r--r--testapp/java_files/main_palindrome.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/java_files/main_palindrome.java b/testapp/java_files/main_palindrome.java
index bd463e5..c0745f9 100644
--- a/testapp/java_files/main_palindrome.java
+++ b/testapp/java_files/main_palindrome.java
@@ -4,11 +4,11 @@ class main_palindrome
{
if(result.equals(expect))
{
- System.out.println("Correct\n:Output expected "+expect+" and got "+result);
+ System.out.println("Correct:\nOutput expected "+expect+" and got "+result+"\n");
}
else
{
- System.out.println("Incorrect:\nOutput expected "+expect+" but got "+result);
+ System.out.println("Incorrect:\nOutput expected "+expect+" but got "+result+"\n");
System.exit(1);
}
}