Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sel Editi Styles Q2. GPS coordinates include latitude and longitude of a particular location eg in coordinate 33.56 is latitude and 73.07 is longitude of

image text in transcribed

image text in transcribed

Sel Editi Styles Q2. GPS coordinates include latitude and longitude of a particular location eg in coordinate 33.56 is latitude and 73.07 is longitude of Foundation University Suppose two persons needs to travel from point 1 to point 5 using a path. The following table contains the longitudes and latitude of Coordinates involved in f those paths. (25 Marks) Person Coordinates Longitude Latitude 1 Ci 111 last 2 digits of reg no C2 112 last 2 digits of reg no 113 last 2 digits of reg no C4 114 last 2 digits of reg no C5 115 last 2 digits of reg no 2 ci C2 C3 C4 C5 221 222 223 224 225 last 2 digits of reg no + 1 last 2 digits of reg no + 1 last 2 digits of reg no + 1 last 2 digits of reg no + 1 last 2 digits of reg no + 1 Now you are required to write a CH program using structures within structures and arrays of structures. 1. You should initialize the required values at declaration 2. Your program should display the coordinates for all points for both persons separately using a user defined function. The output of program should be like Cordinates for Person1 Coordinate 1 - ( 188) Coordinate 2 - ( 188) Coordinate 3 - ( 188) Coordinate 4 - ( 188) Coordinate 5 (1, 88) Cordinates for Person2 Coordinate 1 - 89) Coordinate 2 - Coordinate 3 - (1 89) Coordinate 4 - (1 Coordinate 5 (1 89) (1) vi uic luncionamy ucidicu code for 5 customers only but 000 customers. Your Menu you Sty Coor Coor Write / Copy and Paste your final code from compiler in text format here. Paste output snapshot here. YOU MUST UPLOAD CORRECT SOLUTION FILE WITH IN GIVEN TIME, EVEN IF SOLUTION IS PARTIALLY COMPLETE. IF YOUR PARTIAL CODE SEEMS TO BE GOING IN THE RIGHT DIRECTION YOU MAY GET SOME MARKS. LATE SUBMISSION WILL NOT BE ACCEPTED AND WILL RESULT IN ZERO MARKS

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

Step: 3

blur-text-image

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

Current Trends In Database Technology Edbt 2004 Workshops Edbt 2004 Workshops Phd Datax Pim P2panddb And Clustweb Heraklion Crete Greece March 2004 Revised Selected Papers Lncs 3268

Authors: Wolfgang Lindner ,Marco Mesiti ,Can Turker ,Yannis Tzitzikas ,Athena Vakali

2005th Edition

3540233059, 978-3540233053

More Books

Students also viewed these Databases questions