@BAOER
public class AkmAimbot {

  public static void main(String[] args) {

    double enemyX = 200.0; 
    double enemyY = 100.0;
    double enemySpeed = 5.0; 
    double bulletSpeed = 500.0
    double coverX = 150.0; 
    double coverY = 50.0; 
    

    double predictedX = predictEnemyX(enemyX, enemyY, enemySpeed, coverX, coverY, bulletSpeed);
    double predictedY = predictEnemyY(enemyX, enemyY, enemySpeed, coverX, coverY, bulletSpeed);
    
    System.out.println("The predicted position of the enemy after moving is：(" + predictedX + ", " + predictedY + ")");
  }
  
  private static double predictEnemyX(double enemyX, double enemyY, double enemySpeed, double coverX, double coverY, double bulletSpeed) {
    double predictedX = 0.0;
    

    double distanceToCover = Math.sqrt(Math.pow(coverX - enemyX, 2) + Math.pow(coverY - enemyY, 2)); r
    double travelTime = distanceToCover / enemySpeed; 
    double predictedTravelDistance = travelTime * bulletSpeed; 
    predictedX = coverX + predictedTravelDistance; 
    
    return predictedX;
  }
  
  private static double predictEnemyY(double enemyX, double enemyY, double enemySpeed, double coverX, double coverY, double bulletSpeed) {
    double predictedY = 0.0;
    
    
    double distanceToCover = Math.sqrt(Math.pow(coverX - enemyX, 2) + Math.pow(coverY - enemyY, 2));
    double travelTime = distanceToCover / enemySpeed; 
    double predictedTravelDistance = travelTime * bulletSpeed; 
    predictedY = coverY + predictedTravelDistance; 
    
    return predictedY;
  }
}
