In this answer, it is shown that
Theorem $\boldsymbol{1}$: Suppose $\operatorname{gcd}(a,b)=1$ and $c \ge (a-1)(b-1)$. Then $ax+by=c$ has a non-negative solution, that is, one in which both $x$ and $y$ are
non-negative integers.
and
Theorem $\boldsymbol{2}$: Suppose $\operatorname{gcd}(a,b)=1$, $0 \lt c \lt ab$, and neither $a\mid c$ nor $b\mid c$. Then
one and only one of
$$
ax+by=c
$$
and
$$
ax+by=ab-c
$$
has a non-negative solution.
Theorem $2$ shows that there are solutions even if $c\lt ab$; that is, $\left\lfloor\frac{c}{ab}\right\rfloor=0$. In fact, half of the integers between $0$ and $ab$ that are not multiples of $a$ or $b$ will have positive solutions.
Note that if
$$
ax+by=c\tag{1}
$$
has $k$ positive solutions, $\{(x-jb,y+ja):0\le j\lt k\}$, then
$$
ax+by=c+ab\tag{2}
$$
has $k+1$ positive solutions, $\{(x-jb+b,y+ja):0\le j\lt k+1\}$
Even if $(1)$ has no solutions, Theorem $1$ guarantees that $(2)$ has one solution (and only one; if it had two, we could reverse the argument to show that $(1)$ has a solution).
Therefore, if $0\lt c\lt ab$, then
$$
ax+by=c+kab\tag{3}
$$
has $k$ positive solutions if $(1)$ has no positive solutions and has $k+1$ positive solutions if $(1)$ has a positive solution.
Thus, $(1)$ has either $\left\lfloor\frac{c}{ab}\right\rfloor$ positive solutions or $\left\lfloor\frac{c}{ab}\right\rfloor+1$ positive solutions.