Question: Using C programmning (a) Construct a C program that write the data as shown in Figure Q4(a) to a file named pelajar.txt. List of students:

 Using C programmning (a) Construct a C program that write the

Using C programmning

(a) Construct a C program that write the data as shown in Figure Q4(a) to a file named "pelajar.txt". List of students: Siti Aminah Mohd Adam Li Mei Fen Dinesh DO 2201111 DO22022222 DO 220333 33 DO 22044444 3.98 3.84 3.79 3.81 Figure Q4(a) (6) Produce a C statement to accomplish of each of the following: 1 Defne a structure called travel_info containing character strig variable destination with vahues that may be as long as 30 characters, variable distance and time to be of type double and char direction that keep the vanie characters 'N','S','E' and 'W. Create an object named called my_travel that will print out all the data field in structure in question Q4(b)(1). c) Explain what is the main different between putch() and puts ()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!