Print how many cars are on the file

Assignment Help Programming Languages
Reference no: EM131284293

Ask consider the file name cars.text each line in the file contains information about a car ( year,company,manufacture,model name,type)

1-read the file

2-add each car which is represented using one line of the file to a singular link list .use an object of the following class

class node {
int year;
string company;
string manufacture;
string type;
char owner;
}

3- after creating your list do the following :

a- print how many cars owned by the person (b)?

b- print how many cars are on the file (you need to count the link list nodes ) ?

print every thing about all cares that have been manufactured on 2012 on the a new file called 2012 cares

print all companies name on anew file called company. note do not repeat the company name

print all the cares that has been manufactured by Toyota in a new file called Toyota .note we need to print only the modlename

f- delete the first car in the list that manufactured by Honda and print the file again . name the file Honda

g- delete the last car in the list.print the result in a new file called car Last

h- print the manufacture and the modle name off all trucks in the list print the result in anew file called trucks #Minimum 100 words accepted#

Reference no: EM131284293

Questions Cloud

Summrize the case of the misguided supervisors : How could the hospital in this example have prepared its supervisors to understand their proper role during an organizing campaign? Explain and justify your answer.
Find the cheapest price for goods : They always comparison shop and find the cheapest price for goods. Carol has found an insurer that will save them 20% on their premiums and told Oscar that they should cancel their policy and switch immediately. Oscar asked her if she knew anythi..
What was the alleged ethical wrong done : identification of the ethical issues involved (what was the alleged ethical wrong done, and why is/was it wrong?). A statement, in their own opinion, of whether it was wrong or not, and more importantly, why?
Problem regarding the risk management : Your neighbor Sam told you that he buys insurance from your best friend Jack who is an appointed agent of his insurer, the ABC insurance company.
Print how many cars are on the file : print how many cars are on the file (you need to count the link list nodes ) and print every thing about all cares that have been manufactured on 2012 on the a new file called 2012 cares
What is the marginal cost of the fourth unit : 1. At 4 units of output what are total fixed cost? 2. What is the marginal cost of the fourth unit of output? 3. At 4 units of output what are total variable costs?
Determine the temperature of the insulated surface : A very thin electric element is wedged between two plates of conductivities and k1.- Determine the temperature of the insulated surface for one-dimensional steady state conduction.
Examine tool and technique that support six sigma philosophy : Examine tools and techniques that support Six Sigma philosophy, quality in product design, process design, and/or statistical process control (SPC) for monitoring either the company's service processes.
Describe a barrier or problem in a health care organization : Describe a barrier or problem in a health care organization that can be addressed through health care administration.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write down a program which compute the amounts of money

earl and larry each begin a full-time jobs in january 2013 and plan to retire in january 2061 after working for 48

  Create a driver class to test implementation

Assume you are asked to re-implement the notification part of e.centennialcollege.ca by using observer pattern. When there is a new grade item released or the assignment due date is two days away, those students who register the notification could..

  What is the percentage of branch coverage obtained from test

What is the percentage of branch coverage obtained from the test suite in Table 1? Suggest additional test cases so that 100% branch coverage is obtained.

  Validation case using regexp

The user must enter a valid IPV4 number in the range 0.0.0.0 to 255.255.255.255(decimal numbers). The number in each category must be between 0-255.

  Create a windows form application project.

After these two selections are made the user will click the Selection Complete button that will compute the total price of rental

  Display of the error message from a bound textbox

How does the IDataErrorInfo interface triggers the display of the error message from a bound textbox

  Design application that would output payment coupons

Design the application that would output 12 payment coupons for each of the 15 apartments in each of the 20 buildings. Each coupon should contain the building number.

  Prepare a php form which allows input for an individual and

create a php form that allows input for an individual and displays the information on a subsequent page upon

  Create a class for working with mixed fractions

Create a class for working with mixed fractions. Only 3 private data members are needed: the int whole number part of the fraction, the int numerator of the fraction, and the positive int denominator of the fraction

  Import the data in excel to the table in access.

There are 6 tables in Access (Contacts, Customer, Orders, Products, SalesRep and Territories) and I also created 6 sheets in Excel for the data for table

  Calculate the average of the 5 grades passed and display

Calculate the average of the 5 grades passed in and display the average with 1 decimal place and also display the letter grade.

  Program to print a business travel expenses

Write a program to print a business travel expenses attachment for an income tax return.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd