only works with input from 0 to 9, didn't think about this problem while writing the program
++++[>++++<-]>[->++++++++>+++>++>>>++++++>++++++>+>+++<<<<<<<<<]>---->->>>,>->---->------>[-<<<<->>>>]<<<<<<.>>[->.<<+>]>>>.<<<<<<.>>[-<.>>+<]>>>.>.<<<<<<<.>>>>[-<+<.>>]<<<<.
Try it online!
comments
++++[>++++<-]> store 16 in cell 0
[ while cell 0 != 0
- cell 0 remove 1 total 0
>++++++++ cell 1 add 8 total 128
>+++ cell 2 add 3 total 48
>++ cell 3 add 2 total 32
>> leave 2 empty cells
>++++++ cell 6 add 6 total 96
>++++++ cell 7 add 6 total 96
>+ cell 8 add 1 total 16
>+++ cell 9 add 3 total 48
<<<<<<<<< return to cell 0
]
>---->->>>,>->---->------ ajust cells to 0 124 47 32 0 0 92 95 10 48
| / space \ _ \n 0
and take input into cell 5
>[-<<<<->>>>] remove 48 from cell 5
transforming the digit character into the numeric value
<<<<<<. print a space
>>[->.<<+>] print n times _
>>>. print a new line
<<<<<<. print /
>>[-<.>>+<] print n spaces
>>>. print \
>. print a new line
<<<<<<<. print |
>>>>[-<+<.>>] print n spaces
<<<<. print |
brainfuck, 359 bytes, with input up to 255
input must take 3 characters, e.g. 42
must be inputted as 042
++++[>++++<-]>[->++++++++>+++>++>>>++++++>++++++>+<<<<<<<<]>---->->>>>->---->------>++++++++[->++++++<]>>-[>++<-----]>--<,>>,>++++++++++>,<<<<<[->->>->>-<<<<<]>[->[-<<+<+>>>]<<<[->>>+<<<]>>]>[-]>[-<<+>>]>[-<<+>>]>[-<<+>>]<<<<<>[->[-<<+<+>>>]<<<[->>>+<<<]>>]>>[-<<<+>>>]<<<[-<<<<<+>>>>>]<<<<<<<.>>[->.<<+>]>>>.<<<<<<.>>[-<.>>+<]>>>.>.<<<<<<<.>>>>[-<+<.>>]<<<<.
Try it online!
Create characters
++++[>++++<-]> store 16 in cell 0
[ while cell 0 != 0
- cell 0 remove 1 total 0
>++++++++ cell 1 add 8 total 128
>+++ cell 2 add 3 total 48
>++ cell 3 add 2 total 32
>> leave 2 empty cells
>++++++ cell 6 add 6 total 96
>++++++ cell 7 add 6 total 96
>+ cell 8 add 1 total 16
<<<<<<<< return to cell 0
]
>---->->>>>->---->------ ajust cells to 0 124 47 32 0 0 92 95 10
| / space \ _ \n
Input
>++++++++[->++++++<]>>-[>++<-----]>--<,>>,>++++++++++>,
set cells :
10 to 48
11 to input 1
12 to 100
13 to input 2
14 to 10
15 to input 3
<<<<< move to cell 10
[->->>->>-<<<<<] remove 48 to cells 10 11 13 and 15
getting digits from the characters
>[->[-<<+<+>>>]<<<[->>>+<<<]>>] set cell 10 to cell 11 times cell 12
>[-]>[-<<+>>]>[-<<+>>]>[-<<+>>]<<<<< move cells 13 14 and 15 to cells 11 12 and 13
>[->[-<<+<+>>>]<<<[->>>+<<<]>>] add cell 11 times cell 12 to cell 10
>>[-<<<+>>>]<<< add cell 13 to cell 10
[-<<<<<+>>>>>] move cell 10 to cell 5
Actual drawings
<<<<<<<. print a space
>>[->.<<+>] print n times _
>>>. print a new line
<<<<<<. print /
>>[-<.>>+<] print n spaces
>>>. print \
>. print a new line
<<<<<<<. print |
>>>>[-<+<.>>] print n spaces
<<<<. print |
brainfuck, 155 bytes, With input as brainfuck byte
++++[>++++<-]>[->++++++++>+++>++>>>++++++>++++++>+<<<<<<<<]>---->->>>,>->---->------<<<<<.>>[->.<<+>]>>>.<<<<<<.>>[-<.>>+<]>>>.>.<<<<<<<.>>>>[-<+<.>>]<<<<.
Try it online!
++++[>++++<-]> store 16 in cell 0
[ while cell 0 != 0
- cell 0 remove 1 total 0
>++++++++ cell 1 add 8 total 128
>+++ cell 2 add 3 total 48
>++ cell 3 add 2 total 32
>> leave 2 empty cells
>++++++ cell 6 add 6 total 96
>++++++ cell 7 add 6 total 96
>+ cell 8 add 1 total 16
<<<<<<<< return to cell 0
]
>---->->>>,>->---->------ ajust cells to 0 124 47 32 0 0 92 95 10
| / space \ _ \n
and take input into cell 5
<<<<<. print a space
>>[->.<<+>] print n times _
>>>. print a new line
<<<<<<. print /
>>[-<.>>+<] print n spaces
>>>. print \
>. print a new line
<<<<<<<. print |
>>>>[-<+<.>>] print n spaces
<<<<. print |
```
0009
or0561
instead of9
and561
if it is less than 1000? \$\endgroup\$