This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class Book //класс книга | |
{ | |
public: // модификатор доступа | |
char* name; // модель планшета | |
char* colour; // цвет |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class Tablet //планшет | |
{ | |
public: // модификатор доступа | |
char* model; // модель планшета | |
char* type; //вид планшета (iOS; Android; Windows) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class Pet | |
{ | |
public: // модификатор доступа | |
char* type; //вид животного | |
char* name; // кличка |
NewerOlder