Programming > QUESTIONS & ANSWERS > Programming Project > Gymnasium Simnas - WRT 102 Gymnasium Simnas - WRT 102 Create s structure Train (All)
Gymnasium Simnas - WRT 102 Create s structure Train with the following fields: 1.Number of the train(ID) 2.Destination point(Location) 3.Time of departure(Time) Than try to find the ... if it's possible to go to the given destination location and output the time of departure. Note: Pointer,dynamic and structures have to be used by default. Input: First line contains n(0 < n < 1001). Then n lines inputed in given format: First - train's ID[int type] Second - destination address[char*] Third - departure time[char*] Output: Ouput the information in the following format ID_DESTINATION_TIME It's guaranty that it will be only one train to the one city. If there is no case to go by train output "Impossible". #include <iostream> #include <cstring> using namespace std; struct Train { int ID; char *dest; [Show More]
Last updated: 2 years ago
Preview 1 out of 3 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Jan 06, 2023
Number of pages
3
Written in
All
This document has been written for:
Uploaded
Jan 06, 2023
Downloads
0
Views
92
Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·