Skip to content

A code that returns subnet masks and IP, subnet and broadcast addresses, everything in both decimal and binary numbers. Work requested for the class of Programming I and Computer and Information Networks.

Notifications You must be signed in to change notification settings

Eosn/IP-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

IP-calculator

Overall explanation

This code requests the user to enter an IP address and a subnet mask, both in decimal number, returning both of them in addition to the subnet and the broadcast addresses, everything in both decimal and binary numbers. This way, the following example is possible:

Digite o IP: 192.168.0.2
Digite a máscara de subrede: 255.255.255.89

IP: 192.168.0.2
Binário: 11000000.10101000.00000000.00000010
Máscara: 255.255.255.89
Binário: 11111111.11111111.11111111.01011001
Subrede: 192.168.0.0
Binário: 11000000.10101000.00000000.10100110

Besides each line of code, there's the explanation in Brazilian Portuguese of the logic used and what is being done on each function.

Purpose, creators and bibliography

Work requested by the professors of Programming I and Computer Networks for the Internet, Alessandra Aguiar Vilarinho and Gilmar Luiz Vassoler at the Instituto Federal de Educação, Ciência e Tecnologia do Espírito Santo - Campus Serra. November, 2017.
Members of the group: Éllen Neves, Maria Gabriela Tavares, Pedro Caio Miranda and Sidenir Junior.
Bibliography: this video and professors in the programming and networking subjects.

About

A code that returns subnet masks and IP, subnet and broadcast addresses, everything in both decimal and binary numbers. Work requested for the class of Programming I and Computer and Information Networks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages