Hide

Problem A
KTH MF2095 - Programming Task - Based on Exercises 15-16

Canvas

See the instructions on Canvas under https://canvas.kth.se/courses/28855/assignments.

Sample Input 1 Sample Output 1
0x64014
0x64015
0x64016
0x64016
0x6e017
0x78016
0x78014
0x78012
0x78010
0x78010
0x8000000
0xc000000
0x10000000
0x14000000
0x4f00dfe
0x18000000
Received Temperature: 20
Received Humidity: 50
Received Temperature: 21
Received Humidity: 50
Received Temperature: 22
Received Humidity: 50
Received Temperature: 22
Received Humidity: 50
Received Temperature: 23
Received Humidity: 55
Received Temperature: 22
Received Humidity: 60
Received Temperature: 20
Received Humidity: 60
Received Temperature: 18
Received Humidity: 60
Received Temperature: 16
Received Humidity: 60
Received Temperature: 16
Received Humidity: 60
Average Temperature: 20.00
Average Humidity: 55.50
Minimum Temperature: 16
Minimum Humidity: 50
Maximum Temperature: 23
Maximum Humidity: 60
Log: 10 entries
Temperature: 20; Humidity: 50
Temperature: 21; Humidity: 50
Temperature: 22; Humidity: 50
Temperature: 22; Humidity: 50
Temperature: 23; Humidity: 55
Temperature: 22; Humidity: 60
Temperature: 20; Humidity: 60
Temperature: 18; Humidity: 60
Temperature: 16; Humidity: 60
Temperature: 16; Humidity: 60
Input Error
Exiting...
CPU Time limit 1 second
Memory limit 1024 MB
Statistics Show
Authors
Andrew Berezovskyi and Jad El-khoury
Source MF2095
License Creative Commons License (cc by)

Please log in to submit a solution to this problem

Log in