Question: Please use the C programming language 1 Learning Outcomes In this assignment you will demonstrate your understanding of loops and if statements by writing a




Please use the C programming language
1 Learning Outcomes In this assignment you will demonstrate your understanding of loops and if statements by writing a program that sequentially processes input data. You are also expected to make use of functions and arrays (strings). 2 The Story... Vehicle trajectories provide insights for improving the transport system, such as understanding people's commute patters, identifying trffic congestions, detecting bottlenecks of the road network, etc. Figure 1 below illustrates trajectories of 50 trucks delivering concrete to several construction sites around Athens, Greece, where each tra jectory is illustrated with a line of a different colour. Figure 1: Truck trajectories A truck trajectory is represented by a sequence of location points of the truck reported at different time. Here, we show an example trajectory that consists of location points reported at a 30-second interval. Every location point (a line) has five columns, which represent the date (day/month/year), time (hour:minute:second), latitude, longitude, and unique id (6 characters) of the location point, respectively. 10/9/02 9:15:59 23.845089 38.018470 DXUYHu 10/9/02 9:16:29 23.845179 38.018069 tKoPTx 10/9/02 9:16:59 23.845530 38.018241 JPQbNb 10/9/02 9:17:29 23.845499 38.017440 aEWdXS 10/9/02 9: 17:59 23.844780 38.015609 gqeEjx 10/9/02 9:18:29 23.844780 38.014018 aQArkX 10/9/02 9:18:59 23.844869 38.012569 fhQIAS 10/9/02 9:19:29 23.845360 38.011600 Bhngfq 10/9/02 9:19:59 23.845550 38.010650 rgvehm 10/9/02 9:20:29 23.845100 38.010478 jdBgp For example, the first line of the sequence represents a location point reported at 9:15:59 on 10/9/02 with a coordinate of (23.845089, 38.018470). This data point has a unique id of "DXUYHu
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
