Guest User

Untitled

a guest
Sep 23rd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. object Converter {
  2. def CelcusToFahrenhei(TC:Double):Double = {
  3. return TC * (9.0/5.0) + 32.0;
  4. }
  5. def FarentheitToCelcus(TF:Double):Double = {
  6. return (5.0/9.0) * (TF - 32.0);
  7. }
  8. }
Add Comment
Please, Sign In to add comment