in my homework i wrote a fuction that calculates some prices and prints to screen:
and the output is like that:
i used float but this time the output is
how can i fix this problem???