Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(c) An intelligent greenhouse monitoring system has been developed to measure the temperature and humidity in a local strawberry farm at Cameron Highlands. Table 3
(c) An intelligent greenhouse monitoring system has been developed to measure the temperature and humidity in a local strawberry farm at Cameron Highlands. Table 3 shows the data for the first week of January 2021. [Sebuah sistem pantau rumah kaca pintar telah dibangunkan untuk mengukur suhu dan kelembapan dalam sebuah ladang strawberi tempatan di Tanah Tinggi Cameron. Jadual 3 menunjukkan data untuk minggu pertama bulan Januari 2021.1 Table 3 (Jadual 3] Day Temperature, C Humidity, % (Hari] (Suhu, C] [Kelembapan, %] 1 23 76 2 20 81 3 18 84 4 16 88 5 21 79 6 22 77 7 19 82 Construct a program in C to record the data in Table 3 into a data file named greenhouse.txt. (Binakan sebuah aturcara dalam untuk merekodkan data di Jadual 3 ke dalam satu fail data yang dinamakan greenhouse.txt.) (7 Marks/ Markah) Construct a program in C to read the recorded data from greenhouse.txt and determine the average temperature and average humidity. (Binakan sebuah aturcara dalam C untuk membaca data yang direkodkan daripada greenhouse.txt dan tentukan purata suhu dan purata kelembapan.) (7 Marks/ Markah)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started