Suppose that $G$ is compact Lie group and $H$ is closed subgroup. Than $G/H$ is compact since canonical projecton is continuous. Is the inverse true, namely can one prove that:
G is compact iff $G/H$ is compact where $H$ is a compact subgroup of $G$ (It won't work for H closed only).
I will be gratefoul for any kind of helpe.
You have a little more general result. You only need to be in a topological group not, a Lie group.
Proposition : Let $G$ be a topological group, and $H$ a subgroup of $G$. If $H$ and $G/H$ are compact then $G$ is compact.
Sketch of a proof : Consider a set $(F_i)_{i \in I}$ of closed sets of $G$. Suppose that for all finite $J \subseteq I$, $\cap_{j \in J} F_j \neq \emptyset$, we will show that $\cap_{i \in I} F_i \neq \emptyset$.
This is and exercice in the book (Chap 2, ex 4) : Introduction à la théorie des groupes classiques by R.Mneimné & F.Testard. (This book is in french).