metrics.cpp

ivanm 1 year ago
parent a7bb7f03c1
commit e086f98de4
  1. 17
      metrics.cpp

@ -1,20 +1,3 @@
#include <iostream> #include <iostream>
using namespace std; using namespace std;
class car {
public:
string brand;
int year;
};
int main() {
cout << "Hello World! \n\n";
car car_obj_1;
car_obj_1.brand = "Mercedes";
car_obj_1.year = 2010;
cout << car_obj_1.brand << " " << car_obj_1.year << "\n";
return 0;
}

Loading…
Cancel
Save