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 a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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