What is program documentation? Give two examples of program documentations.
This refers to information that serves to explain the purpose of a program.
Documentation may be internal in the form of comments and appropriate named variables and constants e.t.c. or may be extended in the form of a written description and structure diagram.
E.g. user oriented and program oriented.
Students sat for a test in computer studies. The table gives the marks obtained and the number of students obtaining the marks. Write a program in a structured high-level language to calculate the mean of the result. The formula for the mean is given below.