integer expression expected bash

Trying to loop an expression inputted by the customer a set quantity of times that is additionally inputted by the customer. Go on obtaining the mistake integer expression anticipated, and also I can not identify just how to repair it.

echo "What do you want to say?"
read phrase 

echo "How many times?"
read num

while [ "num" -ge 0 ]
     echo $phrase
     num='expr num - 1'
2022-07-25 20:42:38
Source Share
Answers: 0