Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- struct Avtomobil {
- string model;
- string make;
- int first_registration;
- int km;
- int damage;
- };
- int main() {
- Avtomobil m;
- m.model = "mercedes";
- m.make = "S class";
- m.first_registration = 2020;
- m.km = 2000;
- m.damage = 0;
- cout << m.model << " " << m.make << " " << m.first_registration << " " << m.km << " " << m.damage << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement