/* nag_licence_query (a00acc) Example Program
*
* Copyright 2014 Numerical Algorithms Group.
*
* Mark 8, 2005.
*/
#include <nag.h>
#include <stdio.h>
#include <nag_stdlib.h>
#include <naga00.h>
int main(void)
{
Integer exit_status = 0;
printf("nag_licence_query (a00acc) Example Program Results\n\n");
if (!nag_licence_query())
{
printf(" Unable to obtain a licence for this implementation.\n");
exit_status = 1;
goto END;
}
else
{
printf(" Licence query was successful\n");
}
END:
return exit_status;
}