summaryrefslogtreecommitdiff
path: root/964/CH3/EX3.3/3_3.sce
blob: a8cdb55d2698abc62888086762d65c32e5667a1c (plain)
1
2
3
4
5
6
n=16;//no of bits
num=0;
for i=0:(n-2)
    num=num+(1*(2^i));
end
disp((-1*num),"to",num,"Thus a 16-bit computer word can store decimal integers ranging from")