Output of code is correct but can't submit it plz help

import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner scn = new Scanner(System.in);

	double a = scn.nextInt();
	double b=scn.nextInt();
	double c=scn.nextInt();
	if(a<100 && a>-100 && b<100 && b>-100 && c<100 && c>-100 ) {

	double R1;
	double R2;
	
	
// long C = (long)(Math.pow((Math.pow(b, 2)-4*a*c),0.5));
	//System.out.println(C);
	long C = (long)((Math.pow(b, 2)-4*a*c));
	if(C<0) {
		System.out.println("IMAGINARY ROOTS");
	}
	else {
	C = (long)Math.pow(C,0.5);
	R1 = (-b + C)/(2*a);
	R2 = (-b - C)/(2*a);
	if(R1==R2)
		System.out.println("REAL AND EQUAL");
	else
		System.out.println("REAL AND DISTINCT");
	if(R1<R2){
		System.out.print(R1 + "\t");
		System.out.print(R2);
	}
	else{
			System.out.print(R2 + "\t");
		System.out.print(R1);
	}
	}
	

}

}
}

check the output format. you don’t need to print entire answer in capitals.

have changed captital format but unable to submit code.

Alright, let me have a look, just wait for a while.

Please mail your issue to [email protected]. Our support team would help you out.

code is correct ?
would be grateful if u can help me here.

You said there was an issue with submitting, so I told you to do the same. If you are encountering any type of error, please tell the same.

it’s not submitting as some test cases are not fulfilled. help me to fulfill them and share the corrected code if possible.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.