Category "bluej"

Program to find if a string is a palindrome keeps on failing. Even after using toLowerCase() command for both strings, output doesn't come

import java.util.Scanner; class Palindrome_string { public static void main() { System.out.println("\f"); Scanner sc = new Scanner(Syste

int cannot be converted to int []

new to programming here and i keep getting the error message, incompatible types, int cannot be converted to int [], the question is to add R1 & R2 together