Generate a Binary Triangle from the given number. Binary Triangle is a Triangle formed with 1’s and 0’s. The number of rows in the binary triangle is user input.

example:

```
1
01
010
1010
10101
```

5 Rows Binary Triangle

Skip to content# Core Voilà

## A blog to learn Programming

# Binary Triangle

#### Solution:

Generate a Binary Triangle from the given number. Binary Triangle is a Triangle formed with 1’s and 0’s. The number of rows in the binary triangle is user input.

example:

```
1
01
010
1010
10101
```

5 Rows Binary Triangle