The 172M I trained in gives a normal landing approach speed of 55 - 65 knots at 40 degrees of flaps. That's 63 to 75 mph. It typically chose 60 knots (about 70 mph) and pegged that speed on short final. I had plenty of energy for a smooth round-out and flare.
What airspeed were you using previously for final approach? I am skeptical you had no energy for the flare unless you were previously
very slow on final. Stall speed should be something around 41 knots (47 mph), but that's at gross weight, so it'll be even less when solo.
Anyway, double check in your POH, but 70 mph seems about right. Peg that speed on final approach (accept nothing less!), then transition to a smooth round-out and flare.
[EDIT] -
This 172H POH gives 69 mph at 40 degrees of flaps as the landing approach speed.