Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CS 202-Computer Science II Project 2 Due date (FIXED): Wednesday, 2/6/2019, 11:59 pm Objectives: The two main objectives of this project is to test your

image text in transcribed
image text in transcribed
image text in transcribed
CS 202-Computer Science II Project 2 Due date (FIXED): Wednesday, 2/6/2019, 11:59 pm Objectives: The two main objectives of this project is to test your ability to (1) create and use structs with arays, (2ork with pointers, pointer arithmetic, pass by-Value, pass by Reference, pass by-Address, and 3) desgn, implement and test a solution to a given problem. A review of your knowledge of arrays, iostream, file L/O and C strings is also included. For this given a following the ame daa lavnut), and you must read in all of the car data from the file and store it in an array of structs. You must also create a User Menu with the functionality defined below. Although an example file is provided (Carstxt), for grading purposes your project will be tested against a different test file that will not be provided to you beforehand. Our test file will be in the same format as the example file. that will assist users who want to rent a car. You are you are to create a progranm le with 5 different cars file (the file is a priori i entres, each The RentalCar struct wll contain the following data members: year, an int (year of production) make, a Cstring (chaz array of 10 maximum size) model, a C string (char array of 10 maximum size) price, float (price per day) available, a bool ( true;0false; try to display true/talse using the std::boolalpha" manipulator like cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions