blob: 00297781c8f1a72ea154bde47bd8a7138b5621c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//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)
|