Little push for finishing this quest.

Hello fellow programers.

I got this task i need help with, it's just one small part of a bigger task.

Here is rough translation.

Print data for a given type of vehicle which has the air conditioner. Do printing in increasing scale for next data: manufacturer, price, tax.

Vehicle can be random. I can write em up in main task. I just need basic shell for this part task.
#include <iostream>
using namespace std;

Int main()
{
int car......
Sorry for bad english. :(
Last edited on
Please note, that this is not a homework site. We won't do your homework for you. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.

We didn't see your attemts to solve this problem youself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.


Think about how you store data about one vehicle. (Hint: struct)
Think about how you store vehicles. (Hint: vector)
"Increasing scale" sounds like sort, std::sort.
If you had a struct, how would you print it?
Topic archived. No new replies allowed.