Learning algorithmics with Ada

Zwifi
2,064 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Mission 1 : Felt temperature

Function prototype

                                    +----------------------+
Observation : T_Observation ------> | Apparent_Temperature | ------> Float
                                    +----------------------+

Formula

A_T = 13.12 + 0.6215*T + (0.3965T-11.37)*WS, where A_T is the apparent temperature, T the temperature, and WS the wind speed.

An important detail : the apparent temperature can only be computed when it is not raining. Otherwise, by convention, your function should return -42.0;

Apparent temperature
1
2
3
4
5
6
procedure Mission_Apparent_Temperature is
begin
null;
end Mission_Apparent_Temperature;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content