//chapter-7,Example7_6,pg 497 //since the no. is more than 9, the two-stage counting is required. the states of the stages are printf(" D C B A decimal equivalent") a1=[0 0 0 1 1] a5=[0 1 0 1 5] disp(a1) printf("\n") disp(a5)