Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c) An intelligent water heating system has been developed to control the pressure and temperature of a water tank in a local hotel at Langkawi

image text in transcribed
c) An intelligent water heating system has been developed to control the pressure and temperature of a water tank in a local hotel at Langkawi Island. Table 3 shows the data for the first week of January 2021. Sebuah sistem pemanasan air pintar telah dibangunkan untuk mengawal tekanan dan suhu sebuah tangki air dalam sebuah hotel tempatan di Pulau Langkawi. Jadual 3 menunjukkan data untuk minggu pertama bulan Januari 2021.1 Table 3 Jadual 31 Day Pressure, kPa Temperature, C Hari Tekanan, kPa Suhu. C 1 750 89 2 810 95 3 780 91 4 840 98 5 790 92 6 800 94 7 770 90 (i) Construct a program in C to record the data in Table 3 into a data file named water.txt. [Binakan sebuah aturcara dalam untuk merekodkan data di Jadual 3 ke dalam satu fail data yang dinamakan water.txt. (7 Marks/ Markah) Construct a program in C to read the recorded data from water.txt and determine the average pressure and average temperature. (Binakan sebuah aturcara dalam C untuk membaca data yang direkodkan daripada water.txt dan tentukan purata tekanan dan purata sul (7 Marks/ Markah) -0000000- SULIT

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

More Books

Students also viewed these Databases questions

Question

What is an interface? What keyword is used to define one?

Answered: 1 week ago