#include using namespace std; class Mobile { public: string brand; int price; void show() { cout << brand << " costs " << price << endl; } }; int main() { Mobile m; m.brand = "Samsung"; m.price = 15000; m.show(); return 0; }