Skip to content

Program 3: Validate IP Address #5

Description

@github-actions

Program 3: Validate IP Address

Write a program to validate an IP address. Given a string, write a function to check if it is a valid IP address or not. If valid, return true, otherwise return false.

samples

Input output
255.255.0.0 true
555.555.555.555 false
256.255.0.0 false

Tasks

  • Develop the program using your choice of programming language
  • Create test script covering all scenarios (min 5 test cases)
  • Add exception bloacks to the code to handle invalid inputs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions