Загрузил jabborovhakim

azizbek

реклама
// sinif yaratamiz.qiymat kiritamiz.va uni chaqirib olamiz
#include <iostream>
#include <string>
using namespace std;
class kino{
public:
string turi;
string davomiyligi;
};
int main() {
kino kino0bj1;
kino0bj1.turi="action";
kino0bj1.davomiyligi="2 soat";
kino kino0bj2;
kino0bj2.turi="horror";
kino0bj2.davomiyligi="1 soat";
cout<<kino0bj1.turi<<" "<<kino0bj1. davomiyligi<<" " <<endl;
cout<<kino0bj2.turi<<" "<<kino0bj2. davomiyligi<<" " <<endl;
return 0;
}
Natija oynasi
Скачать