id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

dvermes@scarsdaleschools.org > toCelsius
prev  |  next  |  chance

Your task is to write the code for the body of the toCelsius method that takes a given temperature in Fahrenheit as its parameter and returns the corresponding temperature in Celsius.


toCelsius(32.0) → 0.0
toCelsius(212.0) → 100.0
toCelsius(86.0) → 30.0

...Save, Compile, Run (ctrl-enter)

public double toCelsius(double degreesF) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 100

Copyright Nick Parlante 2017 - privacy