Thinkful - Number Drills: Rømer temperature
Description:
You're writing an excruciatingly detailed alternate history novel set in a world where Daniel Gabriel Fahrenheit was never born.
Since Fahrenheit never lived the world kept on using the Rømer scale, invented by fellow Dane Ole Rømer to this very day, skipping over the Fahrenheit and Celsius scales entirely.
Your magnum opus contains several thousand references to temperature, but those temperatures are all currently in degrees Celsius. You don't want to convert everything by hand, so you've decided to write a function that takes a temperature in degrees Celsius and returns the equivalent temperature in degrees Rømer. Fortunately, you remember that the function for converting is pretty simple and it looks like this:
For example,
;
;
Similar Kata:
Stats:
Created | Dec 27, 2016 |
Published | Dec 27, 2016 |
Warriors Trained | 3920 |
Total Skips | 67 |
Total Code Submissions | 6414 |
Total Times Completed | 3064 |
Python Completions | 2127 |
Haskell Completions | 77 |
CoffeeScript Completions | 22 |
Crystal Completions | 15 |
JavaScript Completions | 766 |
Ruby Completions | 82 |
PHP Completions | 161 |
Total Stars | 15 |
% of votes with a positive feedback rating | 83% of 435 |
Total "Very Satisfied" Votes | 324 |
Total "Somewhat Satisfied" Votes | 78 |
Total "Not Satisfied" Votes | 33 |
Total Rank Assessments | 12 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |