What is the purpose of the following code and a detailed testing
scope that can be made by looking at the following code to check
for bugs or software testing measures such as statement
coverage or branch coverage checks in the code.
import java.io.*;
public class Cal
{
public static int cal (int month1, int day1, int month2,
int day2, int year)
{
//***********************************************************
// Calculate the number of Days between the two given days in
// the same year.
//...