My issue
wrong answer
My code
// Click 'Submit' to view the result
class Codechef
{
public static void main (String[] args)
{
int a = -5; // Integer variable
System.out.println(a);
double b = 4.0; // Double variable
System.out.println(b);
String s = "1234abc"; //String variable
System.out.println(s);
String[] array = {"1", "ab", "3", "name"}; // Array with string values
System.out.println(array[0]);
boolean bool = true;
System.out.println(bool);
char c = 'a';
System.out.print(c);
}
}
Learning course: Logic Building in Java
Problem Link: CodeChef: Practical coding for everyone