Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 12

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

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions

Question

1. Explain why evaluation is important.

Answered: 1 week ago