Help me write a formula for converting degrees Celsius to Fahrenheit?

Closed due to the fact that off-topic participants Igor , Edward , Let's say Pie , VAndrJ , AK 3 Nov '18 at 20:39 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • " Learning tasks are allowed as questions only on condition that you tried to solve them yourself before asking a question . Please edit the question and indicate what caused you difficulties in solving the problem. For example, give the code you wrote, trying to solve the problem "- Igor, Edward, Let's say Pie, VAndrJ
If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

    function convert($celsius) { return ($celsius * 9/5) + 32; } 

    Here is the easiest option.

     echo convert(100); 

    And then you have to adjust as you need.