Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- struct samochod;
- int marka;
- int model;
- int rok_produkcji;
- int moc_w_KM;
- int kola;
- int drzwi;
- long int przebieg;
- int main()
- {
- cout << "Podaj marke: ";
- cin >> dane->marka;
- cout << "Podaj model: ";
- cin >> dane->model;
- cout << "Podaj rok produkcji: ";
- cin >> dane->rok;
- cout << "Moc w [KM]: ";
- cin >> dane->konie;
- cout << "Ilosc kol";
- cin >> dane->kola;
- cout << "Ilosc drzwi";
- cin >> dane->drzwi;
- cout << "Podaj przebieg: ";
- cin >> dane->przebieg;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement