// example 1.8(b)// //conversion octal number to hexadecimal number // clc //clears the screen // clear // clears already existing variables // x= oct2dec ('762') //octal to decimal conversion // a= dec2hex (x) //decimal to hexadecimal conversion // disp ('conversion of given octal no to its hexadecimal form results in :' ) disp (a) //answer in hexadecimal form//