Skip to main content
1 of 2

Add++, 26 bytes

L^,/700/10*1+i10m1_Vc"*"Gy 

Try it online! or see the test suite

It's not often I get to use the ^ function flag in a code golf.

How it works

L^,		; Create a lambda that returns the stack joined 		; Example arguments:	[3067 15] 	/	; Divide;		[204.46] 	700/	; Divide by 700;	[0.2921] 	10*	; Times by 10;		[2.91] 	1+i	; Ceiling;		[3] 	10m	; Minimum with 10;	[3 10 3] 	1_	; Decrement;		[3 10 2] 	Vc	; Keep the top value;	[2] 	"*"G	; Push '*' below;	['*' 2] 	y	; Repeat;		['*' '*' '*']