Hi all, im trying to do my homework in programmning and i need to do a flowchart that converts fahrenheit to celcius.I have already done it but whenever i put the input the result is wrong.i dont get why.here is what i have written..

START

F

"converted temperature is: "; C=5//9*(f-32)

END

when it asks me for F the result is wrong.for ex: f is 3 ..result should be -16.1111111 but my code doesnt give me the minus symbol.
Would be glad if someone helped me as i am new to programming.

"but my code doesnt give me the minus symbol" What code? I don't see any code in your post. By the way, in your code are you using floating point math, aren't you?

http://s1382.photobucket.com/user/asus111/media/Screenshot_1_zpsgoqcx8js.png.html?sort=3&o=0 this is what i have done and on the right side you can see that the result is posivite and not negative.

http://s1382.photobucket.com/user/asus111/media/Screenshot_1_zpsgoqcx8js.png.html?sort=3&o=0 this is what i have done and on the right side you can see that the result is posivite and not negative.

That is because your formula is wrong. You should be using floating point numbers not integers. And you should also use a single forward slash for division. Whatever number you enter in the above formula the answer will be zero. However, in order to help you properly you need to edit your question and add the actual code you are using.

What code? I don't see any code in your post.

By the way,

in your codeare you using floating point math, aren't you?this is what i have done and on the right side you can see that the result is posivite and not negative.

this is what i have done and on the right side you can see that the result is posivite and not negative.