Hepatitis is an inflammatory disease of the liver caused by a virus that causes damage to the cells and function of the liver. This study compares the accuracy, precision, and recall results of the K-Nearest Neighbor (K-NN) and C4.5 algorithms using the Percentage Split and K-fold Cross Validation methods. Of the two algorithms, the best level of accuracy is obtained using the K-fold Cross Validation method. Based on the accuracy and error rate, the best algorithm for predicting life expectancy for hepatitis sufferers is the K-NN algorithm. Based on the special Precision and Recall values on the Recall value to predict class zero the best algorithm is obtained using the C4.5 algorithm. To assess Precision and Recall, the other best algorithm in predicting the fixed response variable is obtained by using the K-NN algorithm. Overall, the best algorithm for predicting life expectancy for hepatitis sufferers is the K-Nearest Neighbor (K-NN) algorithm.