Calculate the difficulty of a Code Golf question
JavaScript (ES6), 40 39 bytes

v=&gt;a=&gt;"**********".substring(10-v/a/70)


Because substring provides the required clamping and "ceil"ing behaviour. Edit: Normally I'm too lazy to bother, but because it got 4 upvotes, I've followed @MarsUltor's advice to save 1 byte by currying.