Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
The function below calculates the average of two numbers. However, it is not being used correctly. Modify the program so that it runs correctly.