Challenge 28 – What temperature is it?
To perform effectively as a software application developer, one must be acquainted with various facets application development. To test the skills of application developers, Superior Consulting Services (SCS) offers a series of technical coding challenges designed to challenge and educate application developers. This blog addresses application programming and presents SCS’ twenty eighth (28th) challenge: What temperature is it?
Each SCS challenge will require the user to solve a problem and present their approach through a coded solution. All questions are designed to be solvable by mid-level application developers in one hour or less. The 28th challenge is shown below.
This challenge involves creating a function that consumes a temperature in degrees Fahrenheit (°F) and outputs the temperature in degrees Celsius (°C)
The prototype of the function could look like this:
The following are the requirements for coding Challenge #28.
Create a function that performs the following work based upon input values:
- Performs input validation (be creative here)
- Consumes temperature in degrees Fahrenheit (°F) and outputs the temperature in degrees Celsius (°C)
- Formats output data to 5 decimal places
Any programming language may be used.
The winner of the coding challenge will meet the above requirements correctly, with the most accurate results in the least amount of code. Any programming language may be used.
Hint: you must do a little research to understand the relationship between degrees Fahrenheit (°F) and degrees Celsius (°C)
- Contestant challenge submittals should be emailed to firstname.lastname@example.org, Subject Line SCS Coding Challenge #28.
- Reponses to Challenge #28 should be received by 5:00 pm CDT, June 30th, 2017.
- In the event of a tie between two or more winning solutions, the first solution received will receive the prize; however, all submitters with good solutions will be recognized.
- Employees of SCS are not eligible to participate in the coding challenge.
The best solution submitted will receive an Amazon.com gift certificate worth $25.00 (U.S. dollars) and have the winning solution, along with the winner’s name, on the SCS website: www.teamscs.com.