468,467 Members | 2,667 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,467 developers. It's quick & easy.

I need a program

1
Can someone help me i need to write this program
Information on car sales offers from a specialist store is recorded in the file
textual Auto.txt.
For each line of the Auto.txt file only one record is presented and reciprocally. A line in the file
respectively contains the following data, separated by space:
 NrInreg (Registration number);
 Company (Manufacturer: Audi, BMW, Dacia, Honda, ...);
 Model (Model: 100, X5, Nova, STEED, ...);
 Color, Price (Price);
 DenTara (Name of the producing country).
Develop a C / C ++ language program that will use menus and subprograms to implement
at the request of the user, the following sub-tasks:
1. Register a new vehicle;
2. Exclude from the Auto.txt file the line corresponding to the vehicle, the registration number of which is
enter from the keyboard;
3. Displays the attributes of all vehicles on the screen in alphabetical order of company names
producers;
4. Determines the average price of vehicles produced in the country, indicated on the keyboard;
5. Displays the attributes of the most expensive and cheapest green car;
6. Determine the name of the company, represented by the maximum number of copies;
7. Create the Audi & BMW.txt text file which will copy the attributes of Audi vehicles and
BMW;
8. Displays on the screen the attributes of the vehicles, the price of which does not exceed the value entered from the keyboard.
1 Week Ago #1
1 1767
Banfa
9,052 Expert Mod 8TB
On the whole people are not going to respond to a request that involves a lot of work where you have done none, especially one like this that reeks of being a piece of course work.

If the separator between fields is a space how will you handle data fields that have spaces in them i.e. car manufacturer Alfa Romeo
1 Week Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

22 posts views Thread by edgrsprj | last post: by
11 posts views Thread by christopher diggins | last post: by
1 post views Thread by Eric Whittaker | last post: by
1 post views Thread by sylsau | last post: by
9 posts views Thread by Hemal | last post: by
7 posts views Thread by ibtc209 | last post: by
Banfa
2 posts views Thread by Banfa | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.