ChicoState / ChicoState/CppMath

Add division operation

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
1
Forks
54
PR merge metrics
No merged PRs in 30d

Description

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!
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.