int a=1int b=0int c=0int x=0if a x 100 + b x10 + c = 5, x+1 & c+1do c+1if c=9, c=0 & b+1if b=9, b=0 & a+1if a=10, print x