Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "pch.h"
- #include <iostream>
- using namespace std;
- struct czlowiek {
- double wzrost;
- int waga;
- string kolorWlosow;
- };
- int main() {
- czlowiek osoba;
- osoba.waga = 80;
- osoba.wzrost = 1.80;
- osoba.kolorWlosow = "szatyn";
- cout << osoba.waga << endl;
- cout << osoba.wzrost << endl;
- cout << osoba.kolorWlosow << endl;
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment