Git Product home page Git Product logo

codingchallenge2016's Introduction

#Codetrotters Fellowship Coding Challenge Summer 2017

##About

Codetrotters Fellowship links promising developers with global startups so they can get invaluable real life experience.

As part of the application process we post a coding challenge every year, and this year's applications will be accepted through February 15th, 2017.

You can read more about the Codetrotters Fellowship at http://www.codetrotters.com/fellowship

##Participating in the Challenge

To participate in this challenge, you need a GitHub account. Fork this repository and once you finish with your solution, send us a Pull Request.

If you are not familiar with Git or Github, you can submit your challenge here.

We are looking forward to reading all your solutions!

##Challenge

Medalla BAC Calculator

You will build a calculator for measuring Blood Alcohol Concentration based on weight, number of Medallas consumed, and the amount of time that has passed since consumption. You can build such a program using any language you choose.

Yeah. Helpful for weekends on the beach in PR.

##Exercise Requirements

  • Prompt user for their weight (lbs), the total number of Medallas they have consumed, and the amount of time that has passed since drinking (hours)
  • Use this information to calculate the BAC of the person
  • Return that number (BAC) to the User

You can be as technical or non-technical as you want with this exercise. If you want to truly model a BAC calculator, there are formulas out there that you can find on Google. An example of such a formula is below:

BAC% = (A × 5.14/W × 0.69) - .015 × H 
Where:
  A: Total alcohol consumed, in ounces (oz)
  W: Body weight, in pounds (lbs)
  H: Time passed since drinking, in hours

If you want to use the above formula, you'll have to determine how many ounces (oz) of alcohol are in 1 medalla. But it should be straightforward after modifying the formula for that!

codingchallenge2016's People

Contributors

ariannasavant avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.