// Example 8.1, page no-217 clear clc printf("Theorotical Exam[ple")