Pneumonia is a highly transmissible disease in children. According to the World Health Organization (WHO), the most affected regions include south Asia and sub-Saharan Africa. Worldwide, 15% of pediatric deaths can be attributed to pneumonia. Computing techniques have a significant role in science, engineering, and many other fields. In this study, we focused on the efficiency of numerical techniques via computer programs. We studied the dynamics of the pneumonia-like infections of epidemic models using numerical techniques. We discuss two types of analysis: dynamical and numerical. The dynamical analysis included positivity, boundedness, local stability, reproduction number, and equilibria of the model. We also discuss well-known computing techniques including Euler, Runge Kutta, and non-standard finite difference (NSFD) for the model. The non-standard finite difference (NSFD) technique shows convergence to the true equilibrium points of the model for any time step size. However, Euler and Runge Kutta do not work well over large time intervals. Computing techniques are the suitable tool for crosschecking the theoretical analysis of the model.