Savnet CPP #1
===
# 1. Phone numbers
As a user,
I want to enter a phone number with country code,
So that I know to which country I'll call.
**Hint**: Take the list of prefixes from https://countrycode.org/
## Examples
Input:
`+40722555666`
Output:
`Romania`
--
Input:
`+1555666213`
Output:
`Canada`
--
Input:
`+86231566321`
Output:
`China`
# 2. We're in the Matrix
As a user,
I want to enter an integer matrix dimension N,
So that I get a generated symmetric matrix.
**Acceptance criteria:**
a. validate N input, accept only values between 2 and 5
b. generate the content of the matrix by adding indexes
## Examples
Input:
`1`
Output:
`Invalid matrix dimension. Below range.`
--
Input:
`6`
Output:
`Invalid matrix dimension. Above range.`
--
Input:
`5`
Output:
```
0 1 2 3 4
1 2 3 4 5
2 3 4 5 6
3 4 5 6 7
4 5 6 7 8
```
--
Input:
`2`
Output:
```
0 1
1 2
```
# 3. Geometry
As a user,
I want to enter a cube's length of a side (in meters),
So that I can calculate its perimeter, area, and volume.
**Hint**: You may want to use a class and implement the 3 methods.
**Acceptance criteria**
a. validate input, accept only positive numbers below 100.
## Examples
Input:
`-1`
Output:
`Invalid side length.`
--
Input:
`105`
Output:
`Invalid side length.`
--
Input:
`10`
Output:
```
Perimeter: 120 m
Surface: 600 mp
Volume: 1000 mc
```