Visual illustration of the code challenge: Variables et calculs #2

Variables et calculs #2

Appliquer une formule mathématique simple.

Coding in the sandbox You must be logged in to access the sandbox.

Mission

Tu dois calculer l’empreinte carbone d’une voiture.

Règles

Tu as à ta disposition 3 variables, qui sont chacune un nombre entier.

Et voici la formule à appliquer :

Tu dois retourner la valeur de l’empreinte carbone, sans arrondi particulier.

Solve the challenge

To code this challenge, several possibilities:
- Want to start coding right away? Use the online Sandbox.
- You can also copy/paste a dataset below.

challenge code for resolution via API: STARTER_7

Some resources to help you:
Data and algorithmic logic Methodologies Corrections

Support for resolution

Progress through challenges using our resolution aids: tools, techniques and advice to help you overcome the most complex programming challenges with methodology, confidence and creativity.

Dataset and algorithmic logic

Based on the data and the expected response, use the process to determine the logic to implement.

Show data and progress

Methodologies

Develop a structured approach with our solving guides. Work on specific concepts such as object-oriented programming or unit testing to improve your coding style and progress.

No methodology yet for this challenge, but we are working on it! Follow us to be informed of the release!


Corrections

The corrections allow you to discover certain technical concepts but will also give you a solution to the challenge. Code the challenge yourself before consulting the corrections ;)

No answer yet for this challenge, but we&'re working on it! Follow us to be informed of the release!

Programming concept(s) that can be used to solve this challenge: Calculs

Keep coding

Other challenges to complete

Beginner
Un requin pendant le triathlon

Un requin pendant le triathlon

Des athlètes dans un fleuve pour une épreuve sportive, et un requin qui a très faim…

Calculation
Beginner
Le Sac de l’Aventurier #1

Le Sac de l’Aventurier #1

Aide notre aventurier à remplir son sac avant de partir à l’aventure !

Calculation Corrigé disponible : Python
Intermediate
Team Pokemon #3

Team Pokemon #3

Tu avances dans ton aventure… Mais maintenant, ce n’est pas 1 mais 3 équipes que tu vas constituer.

Calculation