My issue
Print the characters
�
o and
�
r from the string
�
�
�
�
word in separate lines using the syntax defined above
My code
class Codechef
{
public static void main (String[] args)
{
String word = "Programming";
// Update your code below this line
System.out.print(word.charAt(0));
// System.out.printn(word.charAt(1));
}
}
Learning course: Learn Java
Problem Link: CodeChef: Practical coding for everyone