1.Read the string s.
2.If it starts with +, remove it.
3.Check if it starts with -, store the sign and remove it temporarily.
4.Split into integer and decimal parts if . exists.
5.Remove leading zeros from integer part.
• If empty, set integer part to "0".
6.If decimal part exists:
• Remove trailing zeros from decimal part.
• If decimal part becomes empty, remove the dot.
7.Reconstruct the number with sign (if negative).
8.If final value equals 0 (like 0, -0, 0.0, etc.), output "0".
9.Otherwise, print the normalized string.