reset password
Author Message
fcarras
Posts: 2
Posted 16:03 Apr 10, 2016 |

So I have a small question if anyone knows. For HW02 I have code that works but compared to the examples is a bit messy since it doesn't round to the second decimal point. Should I change my numeric value from double to float or leave as is?

sstodom2
Posts: 3
Posted 16:14 Apr 10, 2016 |

I am also having the same problem. Are you talking about HW2 Problem 4? 

gerardo0309
Posts: 2
Posted 16:16 Apr 10, 2016 |

When i went to tutoring i asked the same thing. It has to be very similar for example 5.69210405 compared to 5.7 is fine. Like it has to be the same. Basically 

Last edited by gerardo0309 at 16:18 Apr 10, 2016.
fcarras
Posts: 2
Posted 16:22 Apr 10, 2016 |

Yea my numbers are pretty close.

 Also yea p4 and p1. 

kknaur
Posts: 540
Posted 16:29 Apr 10, 2016 |

Don't worry about rounding. We will see how to do this later.  As long as your results are close to the examples for this assignment it is ok.