C
C#ā€¢17mo ago
Ice

Very very new to coding. - How do i make a celcius to Fahrenheit converter? (Its an assignment)

Hey, i want to make a celcius to fahrenheit converter. This is the code i got, and i promise im being fully serious, i have no idea what the correct code would be as im very very new. Any help would be greatly appreciated.
26 Replies
saltypatron.eth
saltypatron.ethā€¢17mo ago
School assignments generally don't get help as we would only be helping you cheat yourself You need to learn how to do the tasks without going to communities and asking them for the solution
Ice
Iceā€¢17mo ago
I have no help from teachers and i have been trying at this for a very long time. I promise this is a last resort as i have no way of getting help otherwise.
saltypatron.eth
saltypatron.ethā€¢17mo ago
Thats simply not true. Sorry friend
Ice
Iceā€¢17mo ago
What? What is not true? I am doing programming on distance. The only material i get to work with is online and there is no teacher i can ask for help. I am quite literally UNABLE to recieve help from anyone there. šŸ’€
Angius
Angiusā€¢17mo ago
Well, what doesn't work in the code you have there?
Ice
Iceā€¢17mo ago
So what i would like to do is multiply the value of the "celcius" number with 1.8 and add on "32" this is to convert it into fahrenheit
Angius
Angiusā€¢17mo ago
Yeah, I see you multiplying the value just fine
Ice
Iceā€¢17mo ago
the code simply seems to not recognise the value of 1.8 at all
Ice
Iceā€¢17mo ago
Angius
Angiusā€¢17mo ago
You have two different things named V The const, and the parameter Start by naming each thing in a unique way Makes life a whole lot easier
Ice
Iceā€¢17mo ago
oh ok sir, if you dont mind me asking a dumb question what is the parameter? might be a translation issue as i am swedish
Angius
Angiusā€¢17mo ago
Angius
Angiusā€¢17mo ago
The things in your method signature
Ice
Iceā€¢17mo ago
ohhh so what would you have me rename it to? @Angius
Angius
Angiusā€¢17mo ago
ĀÆ\_(惄)_/ĀÆ ungabunga
Ice
Iceā€¢17mo ago
@Angius i think i found a very dumb way of solving it
Ice
Iceā€¢17mo ago
Ice
Iceā€¢17mo ago
thankyou for helping me tho really appreciate it
Angius
Angiusā€¢17mo ago
Yeah, you can just get rid of the constant, it should work just fine
Ice
Iceā€¢17mo ago
yeah, i simply do not yet understand how code really works and what different things do or mean
Angius
Angiusā€¢17mo ago
$helloworld is a great learning resource
Ice
Iceā€¢17mo ago
thankyou a lot for the help, i really appreciate it :) @Angius
Angius
Angiusā€¢17mo ago
Anytime šŸ‘Œ
ChucklesTheBeard
ChucklesTheBeardā€¢17mo ago
something that describes what the thing is compare these:
(int x)

(int speed)
(int x)

(int speed)
Ice
Iceā€¢17mo ago
Fair enough, thankyou for the help! :) The issue is solved so il close the tab now, thankyou a lot tho c: ohhhhh thanks :)