Hi,how can input base a 16 ip address and check it if it is correct?
Any helps and tips are appreciated.
Note:
You can't use data structures and define your own functions.
In Base 16 (Hexademical), you can only accept 0..0 and A..F
Sample output:
ENTER IP ADRESS:
AA.FF.00.00
It's correct
or
ENTER IP ADRESS
AA.256.00.00
It's wrong