So I was doing this question where I needed to find out ceil and floor value.So I used float for getting the decimal value . In one case the code generated error where ceil((float)10^9/999999999) was producing the value 1.I was hoping it would generate 1.something .Where am I going wrong?
Aucun commentaire:
Enregistrer un commentaire