Answered step by step
Verified Expert Solution
Question
1 Approved Answer
plz send this asap and use only simple libraries no complex like iostream and string one C++ Question No. 4. (CLO-3) (10 Marks) Consider the
plz send this asap and use only simple libraries no complex like iostream and string one
C++
Question No. 4. (CLO-3) (10 Marks) Consider the following definitions: string Landline; struct Car struct Owner Name string address; { { }; int Price: Contact cont; struct Country intModel; String F_name; { String String L_name: string Registrationcity; Registartion Number; string District; Owner Name Oname; Country countryName: struct Contact { Declare an array of 10 cars. Write function to read data in all above for 10 cars. Your task is to categorize the cars belong to America within its three States (Kansas, Chicago, New York). Check the data for each car and display the all information of the cars belong to Kansas, Chicago and New York, by checking its District and Landline number. The landline number should start by 816 for Lahore, 312 for Chicago and 718 for New York. You have to prompt user to enter choice of city and after that user can see all the cars with its complete detail of every car of that specific city. Also check the landline number that it should always start from +1 for checking that it belongs to America and its length should not be less and greater than 12Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started