Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 11-Practice-10.05.2022 / Tire.h
blob: 6855d043217e3b48aa1c7965327266c9a47c8b5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "CarPart.h"
#include <istream>
#include <ostream>

class Tire : CarPart {
	unsigned short width;
	unsigned short profile;
	unsigned short diameter;

public:
	Tire();
	Tire(unsigned short width, unsigned short profile, unsigned short diameter);
};

std::ostream& operator<<(std::ostream& ostr, const Battery& bat);