0

Code Coach Solution

Hie Guys i created this java code snippet for extraterrestrial code challenge in code coach.Its not passing in code coach but in the ide its producing expected result. public static void main(String args[]){ String name; Scanner sc = new Scanner(System.in); name= sc.nextLine(); StringBuilder names = new StringBuilder(); System.out.println(names.append(name).reverse().toString()); } Solution not working

24th Feb 2020, 11:57 AM
Felix Munyaradzi Manamike
Felix Munyaradzi Manamike - avatar
3 odpowiedzi
0
Are you sure I just checked and it's ok. Which cases are failing? If 1 or 2 or all what is the output/error message?
24th Feb 2020, 12:41 PM
Mihai Apostol
Mihai Apostol - avatar
0
Sometimes all are failing and later I passed two
29th Jul 2020, 2:46 PM
Reddy Sai Goutham
Reddy Sai Goutham - avatar
0
Please give me the solution in python
29th Jul 2020, 2:46 PM
Reddy Sai Goutham
Reddy Sai Goutham - avatar