Question: Write a program that takes IP address in a dotted decimal as an input and outputs IP address in a binary format, class, and the

Write a program that takes IP address in a dotted decimal as an input and outputs IP address in a binary format, class, and the default subnet mask. You are free to use any programming scripting language.
Example,
Enter IP address in dotted decimal notation: 10.0.1.2
IP Address in Binary: 00001010.00000000.00000001.00000010
Class: A
Default Subnet Mask: 255.0.0.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!