Skip to content

Add division operation #2

Description

@kbuffardi

Following the model of the other operations already provided, take the two numbers provided by the user and display out their division. For example, if the user enters 10 and 2:

Division: 10/2=5

However, if the second number they enter is zero, display the following:

Division: Error - cannot divide by zero!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions