Jav- cant get "calculate again " to work. : I'm fairly new to Java so I'm having a hard time spotting my mistakes. I wrote a rock, paper, scissors game that had a play again feature. I thought I could copy it and it would work but it doesn't. This assignment is for a circle calculator. I got the main part to work I just need it to ask the user if they want to calculate another circle. Thanks in advance!

        package circleapp;
    import java.util.Scanner;
    
    
    public class CircleApp {
        
          
       
    static Scanner sc = new Scanner(System.in);
        public static void main(String[] args) {
       String answer;
       String calcAgain;
       do{
          
          System.out.print("Enter a radius: ");
            double radius = sc.nextDouble();
    
            //Diameter=2*radius
            double diameter= 2*radius;
            System.out.println("Diameter: " + diameter);
    
    
            //Circumference= 2*PI*radius
            double circumference= Math.PI * 2*radius;
            System.out.println( "Circumference: "+circumference) ;
    
            //Area= PI*radius*radius
            double area = Math.PI * (radius * radius);
            System.out.println("Area: " + area);
    
        
           //Would the user like to calculate again?
    
        System.out.print("Would you like to enter another circle? (Y/N)");
        calcAgain = sc.nextLine();
        
        
            
       }
        while (calcAgain.equalsIgnoreCase("Y"));
        }     
      
        
               
          
          
            
    }

