reset password
Author Message
abubakir
Posts: 14
Posted 10:33 Feb 06, 2017 |

did anyone do the last problem ?

abubakir
Posts: 14
Posted 10:33 Feb 06, 2017 |

can someone please check out my code for the fourth problem and tell me what I need to fix

thank you

 

Edited by Professor to remove code: NOTE: Posting code is not allowed on the forums, this may be considered a form of cheating.

Last edited by kknaur at 14:49 Feb 06, 2017.
ilopezd
Posts: 16
Posted 10:48 Feb 06, 2017 |

hey, for your celsius variable you started it with a capital C it should be lowercase.Assign a different variable for the conversions. so instead of fahrenheit you could use fahrenheitConverion &  celsiusConversion  instead of "celsius."

Basically, don't reuse the same variables

 

Last edited by ilopezd at 10:54 Feb 06, 2017.
kknaur
Posts: 540
Posted 14:50 Feb 06, 2017 |

Actually it is perfectly ok to reuse the same variable.  This is actually the point of variables, that you can reuse them over and over and just change their values.