[PR #893] feat: add info calculator for various stats of an ip address #1415

Closed
opened 2026-01-29 15:20:20 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/TheAlgorithms/C/pull/893

State: closed
Merged: No


Description of Change

This pull requests adds a little program which calculates and displays various things of an ip address when entered with a subnet bitmask. It displays things like network-id, broadcast address, greatest and smallest ip addresses of this subnet and the binary representation of the entered ip address and bitmask.

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:

**Original Pull Request:** https://github.com/TheAlgorithms/C/pull/893 **State:** closed **Merged:** No --- #### Description of Change <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> This pull requests adds a little program which calculates and displays various things of an ip address when entered with a subnet bitmask. It displays things like network-id, broadcast address, greatest and smallest ip addresses of this subnet and the binary representation of the entered ip address and bitmask. #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [ ] Added tests and example, test must pass - [ ] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/893"><img src="https://gitpod.io/button/open-in-gitpod.svg"/></a>
claunia added the pull-request label 2026-01-29 15:20:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1415