Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
56.23 salary
why is the output given in 56.230000
1 Antwort
+ 4
Use "%.2f"
Edit to be complete:
printf("%.2f", salary);
why is the output given in 56.230000