The uncertainity in the state of SR flipflop when S=R=1 can be eliminated in JK flip-flop.The logic symbol and truth table of JK flipflop are given below.
Counter:-
A counter is a register capable of counting the number of clock pulses arriving at the clock input. The …